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
0
110
Django: Web Framework for Perfectionists
Sibi
June 08, 2013
Tweet
Share
More Decks by Sibi
See All by Sibi
Just
psibi
0
77
Nix/NixOS
psibi
0
100
Rust
psibi
2
300
OPA for policy enforcement
psibi
0
54
Rust + Credstash
psibi
0
55
ASG and lifecycle hooks
psibi
0
32
Haskell + Azure Pipelines
psibi
0
60
Web programming in Haskell using Yesod
psibi
0
120
Monad
psibi
1
180
Other Decks in Programming
See All in Programming
Practical Domain-Driven Design - Workshop at NDC 2025
mufrid
0
130
コンポーネントライブラリで実現する、アクセシビリティの正しい実装パターン
schktjm
1
670
Rails産でないDBを Railsに引っ越すHACK - Omotesando.rb #110
lnit
1
100
TypeScript LSP の今までとこれから
quramy
0
110
複数アプリケーションを育てていくための共通化戦略
irof
0
460
TypeScript を活かしてデザインシステム MCP を作る / #tskaigi_after_night
izumin5210
4
480
衛星の軌道をWeb地図上に表示する
sankichi92
0
250
Perlで痩せる
yuukis
1
660
バリデーションライブラリ徹底比較
nayuta999999
1
430
ts-morph実践:型を利用するcodemodのテクニック
ypresto
1
540
OpenTelemetryで始めるベンダーフリーなobservability / Vendor-free observability starting with OpenTelemetry
seike460
PRO
0
160
tsconfigのオプションで変わる型世界
keisukeikeda
1
130
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
76
5.8k
How STYLIGHT went responsive
nonsquared
100
5.6k
A better future with KSS
kneath
239
17k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Making Projects Easy
brettharned
116
6.2k
How to train your dragon (web standard)
notwaldorf
92
6k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
6
660
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
620
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
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 ???