2009-06-18 07:57:27 +08:00
|
|
|
|
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!
|
|
|
|
|
2010-08-20 03:27:44 +08:00
|
|
|
* Try the :doc:`FAQ <faq/index>` -- it's got answers to many common questions.
|
2008-08-24 06:25:40 +08:00
|
|
|
|
|
|
|
* Looking for specific information? Try the :ref:`genindex`, :ref:`modindex` or
|
2010-08-20 03:27:44 +08:00
|
|
|
the :doc:`detailed table of contents <contents>`.
|
2008-08-24 06:25:40 +08:00
|
|
|
|
|
|
|
* 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
|
2010-11-09 04:37:52 +08:00
|
|
|
if it's 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
|
2011-11-26 03:40:46 +08:00
|
|
|
.. _IRC logs: http://django-irc-logs.com/
|
2012-03-14 01:53:31 +08:00
|
|
|
.. _ticket tracker: https://code.djangoproject.com/
|
2008-03-27 23:03:52 +08:00
|
|
|
|
2008-08-24 06:25:40 +08:00
|
|
|
First steps
|
|
|
|
===========
|
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **From scratch:**
|
|
|
|
:doc:`Overview <intro/overview>` |
|
|
|
|
:doc:`Installation <intro/install>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Tutorial:**
|
|
|
|
:doc:`Part 1 <intro/tutorial01>` |
|
|
|
|
:doc:`Part 2 <intro/tutorial02>` |
|
|
|
|
:doc:`Part 3 <intro/tutorial03>` |
|
|
|
|
:doc:`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
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Models:**
|
|
|
|
:doc:`Model syntax <topics/db/models>` |
|
|
|
|
:doc:`Field types <ref/models/fields>` |
|
|
|
|
:doc:`Meta options <ref/models/options>`
|
|
|
|
|
|
|
|
* **QuerySets:**
|
|
|
|
:doc:`Executing queries <topics/db/queries>` |
|
|
|
|
:doc:`QuerySet method reference <ref/models/querysets>`
|
|
|
|
|
|
|
|
* **Model instances:**
|
|
|
|
:doc:`Instance methods <ref/models/instances>` |
|
|
|
|
:doc:`Accessing related objects <ref/models/relations>`
|
|
|
|
|
|
|
|
* **Advanced:**
|
|
|
|
:doc:`Managers <topics/db/managers>` |
|
|
|
|
:doc:`Raw SQL <topics/db/sql>` |
|
|
|
|
:doc:`Transactions <topics/db/transactions>` |
|
|
|
|
:doc:`Aggregation <topics/db/aggregation>` |
|
|
|
|
:doc:`Custom fields <howto/custom-model-fields>` |
|
|
|
|
:doc:`Multiple databases <topics/db/multi-db>`
|
|
|
|
|
|
|
|
* **Other:**
|
|
|
|
:doc:`Supported databases <ref/databases>` |
|
|
|
|
:doc:`Legacy databases <howto/legacy-databases>` |
|
|
|
|
:doc:`Providing initial data <howto/initial-data>` |
|
|
|
|
:doc:`Optimize database access <topics/db/optimization>`
|
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
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **For designers:**
|
|
|
|
:doc:`Syntax overview <topics/templates>` |
|
|
|
|
:doc:`Built-in tags and filters <ref/templates/builtins>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **For programmers:**
|
|
|
|
:doc:`Template API <ref/templates/api>` |
|
|
|
|
:doc:`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
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **The basics:**
|
|
|
|
:doc:`URLconfs <topics/http/urls>` |
|
|
|
|
:doc:`View functions <topics/http/views>` |
|
|
|
|
:doc:`Shortcuts <topics/http/shortcuts>` |
|
|
|
|
:doc:`Decorators <topics/http/decorators>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Reference:**
|
|
|
|
:doc:`Request/response objects <ref/request-response>` |
|
|
|
|
:doc:`TemplateResponse objects <ref/template-response>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **File uploads:**
|
|
|
|
:doc:`Overview <topics/http/file-uploads>` |
|
|
|
|
:doc:`File objects <ref/files/file>` |
|
|
|
|
:doc:`Storage API <ref/files/storage>` |
|
|
|
|
:doc:`Managing files <topics/files>` |
|
|
|
|
:doc:`Custom storage <howto/custom-file-storage>`
|
2009-06-17 22:09:56 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Generic views:**
|
|
|
|
:doc:`Overview<topics/class-based-views>` |
|
|
|
|
:doc:`Built-in generic views<ref/class-based-views>`
|
2009-06-17 22:09:56 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Advanced:**
|
|
|
|
:doc:`Generating CSV <howto/outputting-csv>` |
|
|
|
|
:doc:`Generating PDF <howto/outputting-pdf>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Middleware:**
|
|
|
|
:doc:`Overview <topics/http/middleware>` |
|
|
|
|
:doc:`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
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **The basics:**
|
|
|
|
:doc:`Overview <topics/forms/index>` |
|
|
|
|
:doc:`Form API <ref/forms/api>` |
|
|
|
|
:doc:`Built-in fields <ref/forms/fields>` |
|
|
|
|
:doc:`Built-in widgets <ref/forms/widgets>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Advanced:**
|
|
|
|
:doc:`Forms for models <topics/forms/modelforms>` |
|
|
|
|
:doc:`Integrating media <topics/forms/media>` |
|
|
|
|
:doc:`Formsets <topics/forms/formsets>` |
|
|
|
|
:doc:`Customizing validation <ref/forms/validation>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Extras:**
|
|
|
|
:doc:`Form preview <ref/contrib/formtools/form-preview>` |
|
|
|
|
:doc:`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
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Settings:**
|
|
|
|
:doc:`Overview <topics/settings>` |
|
|
|
|
:doc:`Full list of settings <ref/settings>`
|
2009-04-01 03:43:32 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Exceptions:**
|
|
|
|
:doc:`Overview <ref/exceptions>`
|
2010-05-09 15:45:05 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **django-admin.py and manage.py:**
|
|
|
|
:doc:`Overview <ref/django-admin>` |
|
|
|
|
:doc:`Adding custom commands <howto/custom-management-commands>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Testing:** :doc:`Overview <topics/testing>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Deployment:**
|
|
|
|
:doc:`Overview <howto/deployment/index>` |
|
2011-10-22 12:30:10 +08:00
|
|
|
:doc:`WSGI servers <howto/deployment/wsgi/index>` |
|
2011-10-14 08:12:01 +08:00
|
|
|
:doc:`FastCGI/SCGI/AJP <howto/deployment/fastcgi>` |
|
|
|
|
:doc:`Apache authentication <howto/apache-auth>` |
|
|
|
|
:doc:`Handling static files <howto/static-files>` |
|
|
|
|
:doc:`Tracking code errors by email <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
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* :doc:`Admin site <ref/contrib/admin/index>` | :doc:`Admin actions <ref/contrib/admin/actions>` | :doc:`Admin documentation generator<ref/contrib/admin/admindocs>`
|
|
|
|
* :doc:`Authentication <topics/auth>`
|
|
|
|
* :doc:`Cache system <topics/cache>`
|
|
|
|
* :doc:`Clickjacking protection <ref/clickjacking>`
|
|
|
|
* :doc:`Comments <ref/contrib/comments/index>` | :doc:`Moderation <ref/contrib/comments/moderation>` | :doc:`Custom comments <ref/contrib/comments/custom>`
|
|
|
|
* :doc:`Conditional content processing <topics/conditional-view-processing>`
|
2011-11-19 19:38:40 +08:00
|
|
|
* :doc:`Content types and generic relations <ref/contrib/contenttypes>`
|
2011-10-14 08:12:01 +08:00
|
|
|
* :doc:`Cross Site Request Forgery protection <ref/contrib/csrf>`
|
|
|
|
* :doc:`Cryptographic signing <topics/signing>`
|
|
|
|
* :doc:`Databrowse <ref/contrib/databrowse>`
|
|
|
|
* :doc:`E-mail (sending) <topics/email>`
|
|
|
|
* :doc:`Flatpages <ref/contrib/flatpages>`
|
|
|
|
* :doc:`GeoDjango <ref/contrib/gis/index>`
|
|
|
|
* :doc:`Humanize <ref/contrib/humanize>`
|
|
|
|
* :doc:`Internationalization <topics/i18n/index>`
|
|
|
|
* :doc:`Jython support <howto/jython>`
|
|
|
|
* :doc:`"Local flavor" <ref/contrib/localflavor>`
|
|
|
|
* :doc:`Logging <topics/logging>`
|
|
|
|
* :doc:`Messages <ref/contrib/messages>`
|
|
|
|
* :doc:`Pagination <topics/pagination>`
|
2012-06-08 00:36:26 +08:00
|
|
|
* :doc:`Python 3 compatibility <topics/python3>`
|
2011-10-14 08:12:01 +08:00
|
|
|
* :doc:`Redirects <ref/contrib/redirects>`
|
|
|
|
* :doc:`Security <topics/security>`
|
|
|
|
* :doc:`Serialization <topics/serialization>`
|
|
|
|
* :doc:`Sessions <topics/http/sessions>`
|
|
|
|
* :doc:`Signals <topics/signals>`
|
|
|
|
* :doc:`Sitemaps <ref/contrib/sitemaps>`
|
|
|
|
* :doc:`Sites <ref/contrib/sites>`
|
|
|
|
* :doc:`Static Files <ref/contrib/staticfiles>`
|
|
|
|
* :doc:`Syndication feeds (RSS/Atom) <ref/contrib/syndication>`
|
|
|
|
* :doc:`Unicode in Django <ref/unicode>`
|
|
|
|
* :doc:`Web design helpers <ref/contrib/webdesign>`
|
|
|
|
* :doc:`Validators <ref/validators>`
|
2010-10-18 21:34:47 +08:00
|
|
|
|
2008-11-18 15:33:35 +08:00
|
|
|
The Django open-source project
|
|
|
|
==============================
|
2008-03-27 23:03:52 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Community:**
|
|
|
|
:doc:`How to get involved <internals/contributing/index>` |
|
|
|
|
:doc:`The release process <internals/release-process>` |
|
|
|
|
:doc:`Team of committers <internals/committers>` |
|
|
|
|
:doc:`The Django source code repository <internals/svn>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Design philosophies:**
|
|
|
|
:doc:`Overview <misc/design-philosophies>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Documentation:**
|
|
|
|
:doc:`About this documentation <internals/contributing/writing-documentation>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Third-party distributions:**
|
|
|
|
:doc:`Overview <misc/distributions>`
|
2009-06-18 07:57:27 +08:00
|
|
|
|
2011-10-14 08:12:01 +08:00
|
|
|
* **Django over time:**
|
|
|
|
:doc:`API stability <misc/api-stability>` |
|
|
|
|
:doc:`Release notes and upgrading instructions <releases/index>` |
|
|
|
|
:doc:`Deprecation Timeline <internals/deprecation>`
|