Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Django Static Files - Djangocon 2012
Search
Travis Swicegood
September 06, 2012
Technology
2
210
Django Static Files - Djangocon 2012
My lightning talk idea on how to structure Django static file packages.
Travis Swicegood
September 06, 2012
Tweet
Share
More Decks by Travis Swicegood
See All by Travis Swicegood
Git's Meat Cleavers
tswicegood
8
610
Other Decks in Technology
See All in Technology
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
130
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.6k
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
29
13k
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
310
Lexical Analysis
shigashiyama
1
150
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
880
強いチームと開発生産性
onk
PRO
35
12k
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.2k
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
350
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
150
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
7
690
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
Building Applications with DynamoDB
mza
90
6.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Side Projects
sachag
452
42k
Building Adaptive Systems
keathley
38
2.3k
Code Review Best Practice
trishagee
64
17k
4 Signs Your Business is Dying
shpigford
180
21k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Building Your Own Lightsaber
phodgson
103
6.1k
Transcript
FILES DJANGO STATIC Thursday, September 6, 12
STATIC FILES! Thursday, September 6, 12
ARE THE COPIES ENEMY! Thursday, September 6, 12
INSTALLABLE! MAKE IT Thursday, September 6, 12
|-{{ name }} | `-static/ | `-{{ name }} |
`-* EXAMPLES! Thursday, September 6, 12
|-jquery | `-static/ | `-jquery | |-jquery.js | `-jquery.min.js EXAMPLES!
Thursday, September 6, 12
NAMES ARE IMPORTANT! Thursday, September 6, 12
MAKE IT FINDABLE! Thursday, September 6, 12
django-staticfiles-{{ package }} django-staticfiles-jquery django-staticfiles-lessjs django-staticfiles-masonry NAMES! Thursday, September 6,
12
VERSION IT RIGHT! Thursday, September 6, 12
django-staticfiles-jquery==1.8.1 jquery==1.8.1 VERSIONS! Thursday, September 6, 12
CODE! JUST THE Thursday, September 6, 12
CODE! ALL THE Thursday, September 6, 12
CODE! NOW GO Thursday, September 6, 12