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: Web Framework for Perfectionists
Search
Sibi
June 08, 2013
Programming
120
0
Share
Django: Web Framework for Perfectionists
Sibi
June 08, 2013
More Decks by Sibi
See All by Sibi
Just
psibi
0
98
Nix/NixOS
psibi
0
120
Rust
psibi
2
330
OPA for policy enforcement
psibi
0
66
Rust + Credstash
psibi
0
84
ASG and lifecycle hooks
psibi
0
55
Haskell + Azure Pipelines
psibi
0
86
Web programming in Haskell using Yesod
psibi
0
170
Monad
psibi
1
190
Other Decks in Programming
See All in Programming
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
290
iOS機能開発のAI環境と起きた変化
ryunakayama
0
180
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
2.9k
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
230
10 Tips of AWS ~Gen AI on AWS~
licux
5
360
ハンズオンで学ぶクラウドネイティブ
tatsukiminami
0
120
t *testing.T は どこからやってくるの?
otakakot
0
490
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
170
Running Swift without an OS
kishikawakatsumi
0
810
UIの境界線をデザインする | React Tokyo #15 メイントーク
sasagar
2
310
感情を設計する
ichimichi
5
1.4k
CDK Deployのための ”反響定位”
watany
4
740
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Facilitating Awesome Meetings
lara
57
6.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.6k
Odyssey Design
rkendrick25
PRO
2
570
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
The browser strikes back
jonoalderson
0
960
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
270
Leo the Paperboy
mayatellez
7
1.7k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
Utilizing Notion as your number one productivity tool
mfonobong
4
290
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Transcript
DJANGO: Web Framework for Perfectionists
Formal boring Introduction Equipped with: ORM Administration Site Development tools
Templates Form Validation Authentication Pluggable ...
Ladies And Gentlemen • Start your project, by this command:
django-admin.py startproject project_name • Some new files are generated: – __init__.py – manage.py – settings.py – urls.py
Create your application within your Project • python manage.py startapp
app_name • Include your app in the project by modifying settings.py
Models ???
Models... (2) • Ok, it's not related to fashion models.
• Model refers to the data access layer ( database) • Example of a django model: class post(models.Model): author = models.CharField(max_length = 30) title = models.CharField(max_length = 300) bodytext = models.TextField()
Connecting DB to your Django Project • Alter settings.py •
python manage.py syncdb
Some tweaking • STATICFILES_DIRS • TEMPLATE_DIRS
MTV ??? (Sigh.. bear with me)
MTV (2)...
Thank You! • Find the demo code at https://github.com/psibi/ilugc-talk-django •
Contact mail:
[email protected]
• QUESTIONS ???