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
Module your Django Project
Search
Sergio
November 10, 2015
Programming
29
0
Share
Module your Django Project
Some best practices to design your Django project.
Sergio
November 10, 2015
Other Decks in Programming
See All in Programming
LLM Plugin for Node-REDの利用方法と開発について
404background
0
150
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
210
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.2k
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
5.2k
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
450
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
600
初めてのRubyKaigiはこう見えた
jellyfish700
0
410
Oxlintのカスタムルールの現況
syumai
5
970
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
340
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
180
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
210
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Writing Fast Ruby
sferik
630
63k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
Game over? The fight for quality and originality in the time of robots
wayneb77
1
180
Paper Plane
katiecoart
PRO
1
51k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Everyday Curiosity
cassininazir
0
220
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
300
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
190
Transcript
Module your Django project
Always remember
Reusability matters
Django Packages https:/ /www.djangopackages.com/ PyPi https:/ /pypi.python.org/pypi
APP? https:/ /www.djangopackages.com/ Packages? https:/ /pypi.python.org/pypi
my project mysite/ manage.py mysite/ __init__.py settings.py urls.py wsgi.py users/
__init__.py admin.py migrations/ models.py static/ templates/ test.py urls.py views.py/
settings.py Development Staging Production
settings files settings/ __init__.py dependencies/ base.py development.py stagging.py production.py
for example development.py : from my_site.settings.base import * INSTALLEDAPPS +=
( 'debugtoolbar', ) MIDDLEWARECLASSES += ( 'debugtoolbar.middleware.DebugToolbarMiddleware', )
configure virtualenv https:/ /gist.github.com/5525c6e1795360416bd0.git
i.e. views views/ __init__.py service.py recommendations.py payments.py
__init__.py from myapp.views.services import ServiceFormView from myapp.views.recommendations import RecommendationsList from
myapp.views.payments import Payment
i.e. tools mysite/ tools/ emails.py validators.py urls.py settings/ ...
Eat Sleep Program Repeat