of apps • DRY friendly features • Build a whole lot for very little • Weaknesses • Monolithic (batteries included) • Swapping out pieces reduces their value as a whole.
Do this, even if you have one project • http://virtualenv.readthedocs.org/ • Authors: Ian Bicking, Jannis Leidel, Carl Meyer and Brian Rosner pip install virtualenv
dependency for your WSGI project. You’ll likely have more. Pip can take a requirements file. Add it to source control. You’re dependencies are now versioned and tracked. ! ! ! INSTALLING DJANGO AND FRIENDS
directory. ! • Adds boilerplate, including WSGI and settings module. ! ! • Create or borrow a project template if you don’t like default. (I don’t) django-admin.py startproject myproject ! django-admin.py startproject -- template=<path to template> myproject
is a dictionary of values • Lists, Dictionaries, Strings, etc... • Querysets (List-like sets of Model queries) • Vast library of tags and filters-- or custom! • Too much logic in template is Code Smell
to provide handy way to represent an instance of a Model. • Also a good idea to provide a get_absolute_url method to determine where this resource lives.
• Django 1.7 provides out of the box schema migrations. (But 1.7 isn’t officially out yet...) • Use South for migrations! • South generates Migration files, which you can add to source control.
local!) shell commands • Commonly used to deploy applications or perform maintenance tasks across any number of hosts. fab production deploy:2.0.4 fab run_local_server fab alpha kick_apache