Code


Version 223 (modified by Jay Shaffstall <jshaffstall@…>, 7 years ago) (diff)

--

Django Wiki

The source of documentation, examples, extensions and code snippets

Django is available open-source under the BSD license.

Browsing code online

Sites using Django

Getting involved

In Development

This category describes changes and some new features introduced in the development version of Django:

  • ModelInheritance: Write-up discussing how inheritance/subclassing of models should work. Currently this is not implemented in the development version of Django, so if you need model subclassing stick to one of the older stable releases or use workarounds like one-to-one relationships.
  • SchemaEvolution: This is a new feature, under development as a project for the 2006 Summer of Code.
  • RowLevelPermissions: Currently Django's permission system only works at the level of an entire model -- e.g., user "Bob" has access to add flatpages and edit users. This Summer of Code project will extend the permission system to be much more fine-grained, so permissions will be able to be assigned per object instead of per model (so, for example, user "Bob" could be given permission to edit only flatpage number 24 and user number 12, instead of all flatpages and all users).
  • GenericAuthorization: A more flexible authorization system for Django. The new system should allow for ACL's, role-based systems, and Django's current model-level permissions.
  • Generic relations: a "generic foreign key" feature is currently under development, but not yet completed. There is no support for it yet in the admin application, and it is probably unwise to attempt to use it in a production application.
  • FullHistory: A "full content history" implementation with compare, revert, etc. A SoC 2006 project.
  • TextIndexingAbstractionLayer: An abstraction layer for full-text indexing and search engines such as Lucene, Xapian, and Hyper Estraier. Also known as Merquery, this Summer of Code project will most likely be placed in contrib.search.

Descriptions of major changes to the codebase

Example applications (with source code/templates)

Contributed documentation and examples

General

Installing and Configuring Django

Development environment

Templates

Code Examples

Web Services/APIs

Tutorials on the web

Presentations

Resources in other languages

Under discussion

Community