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
600
Other Decks in Technology
See All in Technology
Vueで Webコンポーネントを作って Reactで使う / 20241030-cloudsign-vuefes_after_night
bengo4com
4
2.5k
Amazon_CloudWatch_ログ異常検出_導入ガイド
tsujiba
4
1.6k
コンテンツを支える 若手ゲームクリエイターの アートディレクションの事例紹介 / cagamefi-game
cyberagentdevelopers
PRO
1
130
プロダクトチームへのSystem Risk Records導入・運用事例の紹介/Introduction and Case Studies on Implementing and Operating System Risk Records for Product Teams
taddy_919
1
170
フルカイテン株式会社 採用資料
fullkaiten
0
36k
Automated Promptingを目指すその前に / Before we can aim for Automated Prompting
rkaga
0
110
プロダクト成長に対応するプラットフォーム戦略:Authleteによる共通認証基盤の移行事例 / Building an authentication platform using Authlete and AWS
kakehashi
1
150
AWS CDKでデータリストアの運用、どのように設計する?~Aurora・EFSの実践事例を紹介~/aws-cdk-data-restore-aurora-efs
mhrtech
4
650
独自ツール開発でスタジオ撮影をDX!「VLS(Virtual LED Studio)」 / dx-studio-vls
cyberagentdevelopers
PRO
1
180
話題のGraphRAG、その可能性と課題を理解する
hide212131
4
1.5k
ユーザーの購買行動モデリングとその分析 / dsc-purchase-analysis
cyberagentdevelopers
PRO
2
100
Figma Dev Modeで進化するデザインとエンジニアリングの協働 / figma-with-engineering
cyberagentdevelopers
PRO
1
430
Featured
See All Featured
KATA
mclloyd
29
13k
Fireside Chat
paigeccino
32
3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Gamification - CAS2011
davidbonilla
80
5k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
32
1.8k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Into the Great Unknown - MozCon
thekraken
31
1.5k
Automating Front-end Workflow
addyosmani
1365
200k
How to Think Like a Performance Engineer
csswizardry
19
1.1k
For a Future-Friendly Web
brad_frost
175
9.4k
It's Worth the Effort
3n
183
27k
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