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
Taming you application's environments
salaboy
0
180
TypeScript、上達の瞬間
sadnessojisan
46
13k
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
170
【若手エンジニア応援LT会】ソフトウェアを学んできた私がインフラエンジニアを目指した理由
kazushi_ohata
0
150
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
870
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
990
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
300
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
2
590
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
240
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
Featured
See All Featured
Fireside Chat
paigeccino
34
3k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
RailsConf 2023
tenderlove
29
900
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Documentation Writing (for coders)
carmenintech
65
4.4k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Raft: Consensus for Rubyists
vanstee
136
6.6k
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