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: 2010/06/06 11:10 by twk
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki