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
120
Django: Web Framework for Perfectionists
Sibi
June 08, 2013
Tweet
Share
More Decks by Sibi
See All by Sibi
Just
psibi
0
87
Nix/NixOS
psibi
0
110
Rust
psibi
2
310
OPA for policy enforcement
psibi
0
57
Rust + Credstash
psibi
0
66
ASG and lifecycle hooks
psibi
0
38
Haskell + Azure Pipelines
psibi
0
68
Web programming in Haskell using Yesod
psibi
0
150
Monad
psibi
1
180
Other Decks in Programming
See All in Programming
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
560
Ktorで簡単AIアプリケーション
tsukakei
0
110
技術的負債の正体を知って向き合う
irof
0
260
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
930
Building, Deploying, and Monitoring Ruby Web Applications with Falcon (Kaigi on Rails 2025)
ioquatix
4
2.5k
テーブル定義書の構造化抽出して、生成AIでDWH分析を試してみた / devio2025tokyo
kasacchiful
0
300
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
140
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
430
Towards Transactional Buffering of CDC Events @ Flink Forward 2025 Barcelona Spain
hpgrahsl
0
120
CSC509 Lecture 06
javiergs
PRO
0
270
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
110
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
260
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Docker and Python
trallard
46
3.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
890
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
Statistics for Hackers
jakevdp
799
220k
Building Applications with DynamoDB
mza
96
6.7k
Bash Introduction
62gerente
615
210k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Making Projects Easy
brettharned
120
6.4k
A better future with KSS
kneath
239
18k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
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 ???