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
69
Nix/NixOS
psibi
0
99
Rust
psibi
2
290
OPA for policy enforcement
psibi
0
49
Rust + Credstash
psibi
0
49
ASG and lifecycle hooks
psibi
0
27
Haskell + Azure Pipelines
psibi
0
54
Web programming in Haskell using Yesod
psibi
0
100
Monad
psibi
1
170
Other Decks in Programming
See All in Programming
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
210
Introduction to kotlinx.rpc
arawn
0
630
SwiftUIで単方向アーキテクチャを導入して得られた成果
takuyaosawa
0
260
SpringBoot3.4の構造化ログ #kanjava
irof
2
970
Software Architecture
hschwentner
6
2.1k
Honoをフロントエンドで使う 3つのやり方
yusukebe
5
2.2k
CloudNativePGがCNCF Sandboxプロジェクトになったぞ! 〜CloudNativePGの仕組みの紹介〜
nnaka2992
0
220
Amazon ECS とマイクロサービスから考えるシステム構成
hiyanger
2
490
Bedrock Agentsレスポンス解析によるAgentのOps
licux
2
720
Java Webフレームワークの現状 / java web framework at burikaigi
kishida
9
2.2k
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
10
1.8k
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
5
3.8k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
8
270
Agile that works and the tools we love
rasmusluckow
328
21k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
400
Typedesign – Prime Four
hannesfritz
40
2.5k
The World Runs on Bad Software
bkeepers
PRO
67
11k
A Philosophy of Restraint
colly
203
16k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Gamification - CAS2011
davidbonilla
80
5.1k
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 ???