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
550
Other Decks in Technology
See All in Technology
本当のAWS基礎
toru_kubota
0
500
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
370
長期運用プロジェクトでのMySQLからTiDB移行の検証
colopl
2
830
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
500
JAWS-UG Bedrock Claude Night
yamahiro
3
550
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
2
9.3k
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
5
380
Vertex AI を中心に 生成AIのアップデートを共有します
kaz1437
0
290
Delivering Millions of Messages within seconds @ Duolingo
pelelgrino
0
350
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
2
180
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
390
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
2
1.9k
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
187
16k
Side Projects
sachag
451
41k
Optimizing for Happiness
mojombo
370
69k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
Gamification - CAS2011
davidbonilla
76
4.6k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
Building Effective Engineering Teams - LeadDev
addyosmani
28
1.8k
Rails Girls Zürich Keynote
gr2m
91
13k
Building an army of robots
kneath
300
41k
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