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
20241031_AWS_生成AIハッカソン_GenMuck
tsumita
0
110
カメラを用いた店内計測におけるオプトインの仕組みの実現 / ai-optin-camera
cyberagentdevelopers
PRO
1
120
「最高のチューニング」をしないために / hack@delta 24.10
fujiwara3
21
3.5k
グローバル展開を見据えたサービスにおける機械翻訳プラクティス / dp-ai-translating
cyberagentdevelopers
PRO
1
150
Gradle: The Build System That Loves To Hate You
aurimas
2
150
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
290k
10分でわかるfreee エンジニア向け会社説明資料
freee
18
520k
プロダクトエンジニアが活躍する環境を作りたくて 事業責任者になった話 ~プロダクトエンジニアの行き着く先~
gimupop
1
480
ユーザーの購買行動モデリングとその分析 / dsc-purchase-analysis
cyberagentdevelopers
PRO
2
100
AIを駆使したゲーム開発戦略: 新設AI組織の取り組み / sge-ai-strategy
cyberagentdevelopers
PRO
1
130
現地でMeet Upをやる場合の注意点〜反省点を添えて〜
shotashiratori
0
530
ABEMA のコンテンツ制作を最適化!生成 AI x クラウド映像編集システム / abema-ai-editor
cyberagentdevelopers
PRO
1
180
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Agile that works and the tools we love
rasmusluckow
327
21k
Building Your Own Lightsaber
phodgson
102
6.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
790
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Fashionably flexible responsive web design (full day workshop)
malarkey
404
65k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
363
19k
Being A Developer After 40
akosma
86
590k
Making Projects Easy
brettharned
115
5.9k
Navigating Team Friction
lara
183
14k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
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