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
68
Nix/NixOS
psibi
0
98
Rust
psibi
2
290
OPA for policy enforcement
psibi
0
49
Rust + Credstash
psibi
0
48
ASG and lifecycle hooks
psibi
0
27
Haskell + Azure Pipelines
psibi
0
52
Web programming in Haskell using Yesod
psibi
0
100
Monad
psibi
1
170
Other Decks in Programming
See All in Programming
令和7年版 あなたが使ってよいフロントエンド機能とは
mugi_uno
10
5.2k
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
240
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
300
Flatt Security XSS Challenge 解答・解説
flatt_security
0
740
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
420
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
190
Azure AI Foundryのご紹介
qt_luigi
1
210
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
220
ErdMap: Thinking about a map for Rails applications
makicamel
1
660
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
300
ドメインイベント増えすぎ問題
h0r15h0
2
570
Rubyでつくるパケットキャプチャツール
ydah
0
170
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Code Reviewing Like a Champion
maltzj
521
39k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Faster Mobile Websites
deanohume
305
30k
A better future with KSS
kneath
238
17k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Unsuck your backbone
ammeep
669
57k
Bash Introduction
62gerente
610
210k
KATA
mclloyd
29
14k
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 ???