Hi and Enjoy

Today

  • Django
  • How to start
  • Settings
  • Views
  • URLs
  • Templates
  • Models

The web framework for professionals with deadlines 

Name comes from Django Reinhardt

Since 2003

Current version 1.7.3

Python 3.x support

MVT (not MVC)

MVC - model view controller

MVT - model view template

Model - View - Template

Model

View

Template

ORM

Virtualenv

Creating separated environments for each application.

Each application consisting requirements.txt file

gandi@localhost: virtualenv --no-site-packages project_name
gandi@localhost: source project_name/bin/activate
(env)gandi: pip install -r requirements.txt

Pull the code

git clone git@bitbucket.org:grand-parade/django-school.git

And let's get to work!

Python School #5

By Kuba Wasielak

Python School #5

  • 637