==================== ``contrib`` packages ==================== Django aims to follow Python's `"batteries included" philosophy`_. It ships with a variety of extra, optional tools that solve common Web-development problems. 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. .. admonition:: 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 :setting:`INSTALLED_APPS` setting and re-run ``manage.py migrate``. .. _"batteries included" philosophy: https://docs.python.org/tutorial/stdlib.html#batteries-included .. toctree:: :maxdepth: 1 admin/index auth contenttypes flatpages formtools/index gis/index humanize messages postgres/index redirects sitemaps sites staticfiles syndication webdesign admin ===== The automatic Django administrative interface. For more information, see :doc:`Tutorial 2 ` and the :doc:`admin documentation `. Requires the auth_ and contenttypes_ contrib packages to be installed. auth ==== Django's authentication framework. See :doc:`/topics/auth/index`. contenttypes ============ A light framework for hooking into "types" of content, where each installed Django model is a separate content type. See the :doc:`contenttypes documentation `. flatpages ========= A framework for managing simple "flat" HTML content in a database. See the :doc:`flatpages documentation `. Requires the sites_ contrib package to be installed as well. gis ==== A world-class geospatial framework built on top of Django, that enables storage, manipulation and display of spatial data. See the :doc:`/ref/contrib/gis/index` documentation for more. humanize ======== A set of Django template filters useful for adding a "human touch" to data. See the :doc:`humanize documentation `. messages ======== A framework for storing and retrieving temporary cookie- or session-based messages See the :doc:`messages documentation `. postgres ======== A collection of PostgreSQL specific features. See the :doc:`contrib.postgres documentation `. redirects ========= A framework for managing redirects. See the :doc:`redirects documentation `. sessions ======== A framework for storing data in anonymous sessions. See the :doc:`sessions documentation `. sites ===== A light framework that lets you operate multiple Web sites off of the same database and Django installation. It gives you hooks for associating objects to one or more sites. See the :doc:`sites documentation `. sitemaps ======== A framework for generating Google sitemap XML files. See the :doc:`sitemaps documentation `. syndication =========== A framework for generating syndication feeds, in RSS and Atom, quite easily. See the :doc:`syndication documentation `. webdesign ========= Helpers and utilities targeted primarily at Web *designers* rather than Web *developers*. See the :doc:`Web design helpers documentation `. 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 |django-users| mailing list.