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
76
Nix/NixOS
psibi
0
100
Rust
psibi
2
300
OPA for policy enforcement
psibi
0
53
Rust + Credstash
psibi
0
55
ASG and lifecycle hooks
psibi
0
31
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
On-the-fly Suggestions of Rewriting Method Deprecations
ohbarye
3
5.3k
2025-04-25 GitHub Copilot Agent ライブデモ(スクリプト)
goataka
0
110
20250429 - CNTUG Meetup #67 / DevOps Taiwan Meetup #69 - Deep Dive into Tetragon: Building Runtime Security and Observability with eBPF
tico88612
0
170
プロフェッショナルとしての成長「問題の深掘り」が導く真のスキルアップ / issue-analysis-and-skill-up
minodriven
8
1.9k
ぽちぽち選択するだけでOSSを読めるVSCode拡張機能
ymbigo
14
6.2k
파급효과: From AI to Android Development
l2hyunwoo
0
160
Flutterでllama.cppをつかってローカルLLMを試してみた
sakuraidayo
0
140
Contribute to Comunities | React Tokyo Meetup #4 LT
sasagar
0
600
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
840
実践Webフロントパフォーマンスチューニング
cp20
45
10k
Instrumentsを使用した アプリのパフォーマンス向上方法
hinakko
0
240
大LLM時代にこの先生きのこるには-ITエンジニア編
fumiyakume
8
3.3k
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
What's in a price? How to price your products and services
michaelherold
245
12k
Facilitating Awesome Meetings
lara
54
6.3k
The Cost Of JavaScript in 2023
addyosmani
49
7.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.2k
Speed Design
sergeychernyshev
29
930
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
The World Runs on Bad Software
bkeepers
PRO
68
11k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Thoughts on Productivity
jonyablonski
69
4.6k
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 ???