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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Sibi
June 08, 2013
Programming
120
0
Share
Django: Web Framework for Perfectionists
Sibi
June 08, 2013
More Decks by Sibi
See All by Sibi
Just
psibi
0
99
Nix/NixOS
psibi
0
120
Rust
psibi
2
330
OPA for policy enforcement
psibi
0
70
Rust + Credstash
psibi
0
86
ASG and lifecycle hooks
psibi
0
60
Haskell + Azure Pipelines
psibi
0
95
Web programming in Haskell using Yesod
psibi
0
170
Monad
psibi
1
190
Other Decks in Programming
See All in Programming
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
250
横断組織出身のQAEがインプロセスQAEでつまずいたこと・活かせたこと
ty89
0
450
JavaDoc 再入門
nagise
0
190
ふつうのFeature Flag実践入門
irof
7
3.3k
自動レビューエンジンの実装と運用 ~レビューのない世界へ~
kurukuru1999
2
280
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
300
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
310
OSもどきOS
arkw
0
270
TSKaigi2026-静的解析への投資がAI時代のコード品質を支える ── カスタムESLintルールの設計と運用
hayatokudou
6
1.3k
デフォルト運用のCodeRabbit、1年で何が変わったか / How CodeRabbit Changed Our Code Review in 1 Year
bake0937
1
110
Skillは並べた。動かなかった。契約で繋いだ。— 65個のSkillから、自走する開発サイクルへ
junholee
0
780
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
15
7.2k
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5.1k
The Language of Interfaces
destraynor
162
26k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
170
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
130
Thoughts on Productivity
jonyablonski
76
5.2k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
140
The Spectacular Lies of Maps
axbom
PRO
1
770
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
160
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
130
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
160
A Tale of Four Properties
chriscoyier
163
24k
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 ???