2008-08-24 06:25:40 +08:00
.. _index:
2008-03-27 23:03:52 +08:00
====================
2008-08-24 06:25:40 +08:00
Django documentation
2008-03-27 23:03:52 +08:00
====================
2008-08-24 06:25:40 +08:00
.. rubric:: Everything you need to know about Django (and then some).
Getting help
============
Having trouble? We'd like to help!
* Try the :ref:`FAQ <faq-index>` -- it's got answers to many common questions.
* Looking for specific information? Try the :ref:`genindex`, :ref:`modindex` or
the :ref:`detailed table of contents <contents>`.
* Search for information in the `archives of the django-users mailing list`_, or
2008-09-10 12:53:44 +08:00
`post a question`_.
2008-08-24 06:25:40 +08:00
* Ask a question in the `#django IRC channel`_, or search the `IRC logs`_ to see
2008-09-10 12:53:44 +08:00
if its been asked before.
2008-08-24 06:25:40 +08:00
* Report bugs with Django in our `ticket tracker`_.
.. _archives of the django-users mailing list: http://groups.google.com/group/django-users/
.. _post a question: http://groups.google.com/group/django-users/
.. _#django IRC channel: irc://irc.freenode.net/django
.. _IRC logs: http://oebfare.com/logger/django/
.. _ticket tracker: http://code.djangoproject.com/
2008-03-27 23:03:52 +08:00
2008-08-24 06:25:40 +08:00
First steps
===========
2008-11-18 15:33:35 +08:00
* **From scratch:** :ref:`Overview <intro-overview>` | :ref:`Installation <intro-install>`
* **Tutorial:** :ref:`Part 1 <intro-tutorial01>` | :ref:`Part 2 <intro-tutorial02>` | :ref:`Part 3 <intro-tutorial03>` | :ref:`Part 4 <intro-tutorial04>`
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
The model layer
===============
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
* **Models:** :ref:`Model syntax <topics-db-models>` | :ref:`Field types <ref-models-fields>` | :ref:`Meta options <ref-models-options>`
* **QuerySets:** :ref:`Executing queries <topics-db-queries>` | :ref:`QuerySet method reference <ref-models-querysets>`
* **Model instances:** :ref:`Instance methods <ref-models-instances>` | :ref:`Accessing related objects <ref-models-relations>`
2009-01-15 19:06:34 +08:00
* **Advanced:** :ref:`Managers <topics-db-managers>` | :ref:`Raw SQL <topics-db-sql>` | :ref:`Transactions <topics-db-transactions>` | :ref:`Aggregation <topics-db-aggregation>` | :ref:`Custom fields <howto-custom-model-fields>`
2008-11-18 15:33:35 +08:00
* **Other:** :ref:`Supported databases <ref-databases>` | :ref:`Legacy databases <howto-legacy-databases>` | :ref:`Providing initial data <howto-initial-data>`
2008-08-24 06:25:40 +08:00
2008-11-18 15:33:35 +08:00
The template layer
==================
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
* **For designers:** :ref:`Syntax overview <topics-templates>` | :ref:`Built-in tags and filters <ref-templates-builtins>`
* **For programmers:** :ref:`Template API <ref-templates-api>` | :ref:`Custom tags and filters <howto-custom-template-tags>`
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
The view layer
==============
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
* **The basics:** :ref:`URLconfs <topics-http-urls>` | :ref:`View functions <topics-http-views>` | :ref:`Shortcuts <topics-http-shortcuts>`
* **Reference:** :ref:`Request/response objects <ref-request-response>`
* **File uploads:** :ref:`Overview <topics-http-file-uploads>` | :ref:`File objects <ref-files-file>` | :ref:`Storage API <ref-files-storage>` | :ref:`Managing files <topics-files>` | :ref:`Custom storage <howto-custom-file-storage>`
* **Advanced:** :ref:`Generic views <ref-generic-views>` | :ref:`Generating CSV <howto-outputting-csv>` | :ref:`Generating PDF <howto-outputting-pdf>`
* **Middleware:** :ref:`Overview <topics-http-middleware>` | :ref:`Built-in middleware classes <ref-middleware>`
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
Forms
=====
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
* **The basics:** :ref:`Overview <topics-forms-index>` | :ref:`Form API <ref-forms-api>` | :ref:`Built-in fields <ref-forms-fields>` | :ref:`Built-in widgets <ref-forms-widgets>`
* **Advanced:** :ref:`Forms for models <topics-forms-modelforms>` | :ref:`Integrating media <topics-forms-media>` | :ref:`Formsets <topics-forms-formsets>` | :ref:`Customizing validation <ref-forms-validation>`
* **Extras:** :ref:`Form preview <ref-contrib-formtools-form-preview>` | :ref:`Form wizard <ref-contrib-formtools-form-wizard>`
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
The development process
=======================
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
* **Settings:** :ref:`Overview <topics-settings>` | :ref:`Full list of settings <ref-settings>`
* **django-admin.py and manage.py:** :ref:`Overview <ref-django-admin>` | :ref:`Adding custom commands <howto-custom-management-commands>`
* **Testing:** :ref:`Overview <topics-testing>`
* **Deployment:** :ref:`Overview <howto-deployment-index>` | :ref:`Apache/mod_python <howto-deployment-modpython>` | :ref:`FastCGI/SCGI/AJP <howto-deployment-fastcgi>` | :ref:`Apache authentication <howto-apache-auth>` | :ref:`Serving static files <howto-static-files>` | :ref:`Tracking code errors by e-mail <howto-error-reporting>`
2008-09-10 12:53:44 +08:00
2008-11-18 15:33:35 +08:00
Other batteries included
========================
2008-03-27 23:03:52 +08:00
2009-03-24 04:22:56 +08:00
* :ref:`Admin site <ref-contrib-admin>` | :ref:`Admin actions <ref-contrib-admin-actions>`
2008-09-10 13:04:24 +08:00
* :ref:`Authentication <topics-auth>`
2008-11-18 15:33:35 +08:00
* :ref:`Cache system <topics-cache>`
2009-03-22 15:58:29 +08:00
* :ref:`Conditional content processing <topics-conditional-processing>`
2008-09-10 13:04:24 +08:00
* :ref:`Comments <ref-contrib-comments-index>`
* :ref:`Content types <ref-contrib-contenttypes>`
* :ref:`Cross Site Request Forgery protection <ref-contrib-csrf>`
* :ref:`Databrowse <ref-contrib-databrowse>`
2008-11-18 15:33:35 +08:00
* :ref:`E-mail (sending) <topics-email>`
2008-09-10 13:04:24 +08:00
* :ref:`Flatpages <ref-contrib-flatpages>`
* :ref:`Humanize <ref-contrib-humanize>`
2008-11-18 15:33:35 +08:00
* :ref:`Internationalization <topics-i18n>`
* :ref:`Jython support <howto-jython>`
* :ref:`"Local flavor" <ref-contrib-localflavor>`
* :ref:`Pagination <topics-pagination>`
2008-09-10 13:04:24 +08:00
* :ref:`Redirects <ref-contrib-redirects>`
2008-11-18 15:33:35 +08:00
* :ref:`Serialization <topics-serialization>`
* :ref:`Sessions <topics-http-sessions>`
* :ref:`Signals <topics-signals>`
2008-09-10 13:04:24 +08:00
* :ref:`Sitemaps <ref-contrib-sitemaps>`
* :ref:`Sites <ref-contrib-sites>`
2008-11-18 15:33:35 +08:00
* :ref:`Syndication feeds (RSS/Atom) <ref-contrib-syndication>`
* :ref:`Unicode in Django <ref-unicode>`
2008-09-10 13:04:24 +08:00
* :ref:`Web design helpers <ref-contrib-webdesign>`
2008-03-27 23:03:52 +08:00
2008-11-18 15:33:35 +08:00
The Django open-source project
==============================
2008-03-27 23:03:52 +08:00
2008-11-18 15:33:35 +08:00
* **Community:** :ref:`How to get involved <internals-contributing>` | :ref:`The release process <internals-release-process>` | :ref:`Team of committers <internals-committers>`
* **Design philosophies:** :ref:`Overview <misc-design-philosophies>`
* **Documentation:** :ref:`About this documentation <internals-documentation>`
* **Third-party distributions:** :ref:`Overview <misc-distributions>`
* **Django over time:** :ref:`API stability <misc-api-stability>` | :ref:`Archive of release notes <releases-index>` | `Backwards-incompatible changes`_
2008-03-27 23:03:52 +08:00
2008-11-18 15:33:35 +08:00
.. _Backwards-incompatible changes: http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges