contrib packages

    This code lives in django/contrib in the Django distribution. This document gives a rundown of the packages in contrib, along with any dependencies those packages have.

    Note

    For most of these add-ons – specifically, the add-ons that include either models or template tags – you’ll need to add the package name (e.g., 'django.contrib.redirects') to your INSTALLED_APPS setting and rerun manage.py migrate.

    The automatic Django administrative interface. For more information, see Tutorial 2 and the .

    Requires the auth and contrib packages to be installed.

    auth

    Django’s authentication framework.

    See .

    contenttypes

    A light framework for hooking into “types” of content, where each installed Django model is a separate content type.

    See the .

    See the .

    Requires the sites contrib package to be installed as well.

    A world-class geospatial framework built on top of Django, that enables storage, manipulation and display of spatial data.

    See the documentation for more.

    humanize

    A set of Django template filters useful for adding a “human touch” to data.

    See the .

    messages

    A framework for storing and retrieving temporary cookie- or session-based messages

    See the .

    postgres

    A collection of PostgreSQL specific features.

    A framework for managing redirects.

    See the .

    sessions

    A framework for storing data in anonymous sessions.

    See the .

    sites

    A light framework that lets you operate multiple websites off of the same database and Django installation. It gives you hooks for associating objects to one or more sites.

    See the .

    sitemaps

    A framework for generating Google sitemap XML files.

    See the .

    A framework for generating syndication feeds, in RSS and Atom, quite easily.

    Other add-ons

    If you have an idea for functionality to include in contrib, let us know! Code it up, and post it to the mailing list.