Overview

Django is a full-stack Python web framework. It is particularly well-suited to CMS-based applications, with automatic generation of CRUD-screen admin pages and a large set of “generic view” functions that work with user-created templates to provide common functionality like list and detail views, date-based archives, etc.

Case Studies

Gotchas

  • Apache + mod_python is a popular deployment configuration and is used on many high-traffic Django sites. However, for development, this configuration is not recommended because code changes are not immediately visible to running mod_python processes. For development there is a lightweight built-in server which automatically reloads Python modules whose source files have changed.

Tips & Tricks

  • Django separates the concept of a “project” (which generally corresponds to a whole website) and an “app” (which is a small bit of independent functionality. There are many 3rd-party reusable apps available on the net, and these can drastically simplify the development of common functionality. See Django Pluggables

Alternatives

Other Resources

 
django.txt · Last modified: 2008/04/26 09:09 by 96.240.195.229
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki