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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sibi
June 08, 2013
Programming
0
120
Django: Web Framework for Perfectionists
Sibi
June 08, 2013
Tweet
Share
More Decks by Sibi
See All by Sibi
Just
psibi
0
92
Nix/NixOS
psibi
0
120
Rust
psibi
2
320
OPA for policy enforcement
psibi
0
64
Rust + Credstash
psibi
0
77
ASG and lifecycle hooks
psibi
0
52
Haskell + Azure Pipelines
psibi
0
77
Web programming in Haskell using Yesod
psibi
0
160
Monad
psibi
1
180
Other Decks in Programming
See All in Programming
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
240
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
7.5k
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
3.1k
Ruby x Terminal
a_matsuda
6
570
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
120
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
200
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
150
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
200
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
360
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
19
10k
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
120
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
190
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
590
Designing for Timeless Needs
cassininazir
0
150
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
WENDY [Excerpt]
tessaabrams
9
36k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Speed Design
sergeychernyshev
33
1.6k
Being A Developer After 40
akosma
91
590k
Unsuck your backbone
ammeep
672
58k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
ラッコキーワード サービス紹介資料
rakko
1
2.5M
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
970
Product Roadmaps are Hard
iamctodd
PRO
55
12k
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 ???