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
70
Nix/NixOS
psibi
0
100
Rust
psibi
2
290
OPA for policy enforcement
psibi
0
50
Rust + Credstash
psibi
0
50
ASG and lifecycle hooks
psibi
0
29
Haskell + Azure Pipelines
psibi
0
55
Web programming in Haskell using Yesod
psibi
0
110
Monad
psibi
1
170
Other Decks in Programming
See All in Programming
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
160
Visual StudioのGitHub Copilotでいろいろやってみる
tomokusaba
1
210
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
8
1.3k
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
310
GoとPHPのインターフェイスの違い
shimabox
2
210
Rubyと自由とAIと
yotii23
6
1.8k
15分で学ぶDuckDBの可愛い使い方 DuckDBの最近の更新
notrogue
3
530
Rubyで始める関数型ドメインモデリング
shogo_tksk
0
140
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
7
4.2k
Amazon Q Developer Proで効率化するAPI開発入門
seike460
PRO
0
130
[JAWS DAYS 2025] 最近の DB の競合解決の仕組みが分かった気になってみた
maroon1st
0
130
もう僕は OpenAPI を書きたくない
sgash708
6
1.9k
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Language of Interfaces
destraynor
156
24k
For a Future-Friendly Web
brad_frost
176
9.6k
Music & Morning Musume
bryan
46
6.4k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
990
A better future with KSS
kneath
238
17k
Code Review Best Practice
trishagee
67
18k
Typedesign – Prime Four
hannesfritz
40
2.5k
Site-Speed That Sticks
csswizardry
4
410
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: sibi@psibi.in • QUESTIONS ???