Restructured the documentation's index page and added some introductory sentences to each section.

This commit is contained in:
Julien Phalip 2012-08-04 16:05:12 -07:00
parent 86c5c0154f
commit 197863523a
1 changed files with 104 additions and 36 deletions

View File

@ -34,6 +34,8 @@ Having trouble? We'd like to help!
First steps First steps
=========== ===========
Are you new to Django or to programming? This is the place to start!
* **From scratch:** * **From scratch:**
:doc:`Overview <intro/overview>` | :doc:`Overview <intro/overview>` |
:doc:`Installation <intro/install>` :doc:`Installation <intro/install>`
@ -47,6 +49,9 @@ First steps
The model layer The model layer
=============== ===============
Django provides an abstration layer (the "models") for structuring and
manipulating the data of your Web application. Learn more about it below:
* **Models:** * **Models:**
:doc:`Model syntax <topics/db/models>` | :doc:`Model syntax <topics/db/models>` |
:doc:`Field types <ref/models/fields>` | :doc:`Field types <ref/models/fields>` |
@ -74,20 +79,13 @@ The model layer
:doc:`Providing initial data <howto/initial-data>` | :doc:`Providing initial data <howto/initial-data>` |
:doc:`Optimize database access <topics/db/optimization>` :doc:`Optimize database access <topics/db/optimization>`
The template layer
==================
* **For designers:**
:doc:`Syntax overview <topics/templates>` |
:doc:`Built-in tags and filters <ref/templates/builtins>`
* **For programmers:**
:doc:`Template API <ref/templates/api>` |
:doc:`Custom tags and filters <howto/custom-template-tags>`
The view layer The view layer
============== ==============
Django offers the concept of "views" to encapsulate the logic reponsible for
processing a user's request and for returning the response. Find all you need
to know about views via the links below:
* **The basics:** * **The basics:**
:doc:`URLconfs <topics/http/urls>` | :doc:`URLconfs <topics/http/urls>` |
:doc:`View functions <topics/http/views>` | :doc:`View functions <topics/http/views>` |
@ -118,9 +116,29 @@ The view layer
:doc:`Overview <topics/http/middleware>` | :doc:`Overview <topics/http/middleware>` |
:doc:`Built-in middleware classes <ref/middleware>` :doc:`Built-in middleware classes <ref/middleware>`
The template layer
==================
The template layer provides a designer-friendly syntax for rendering the
information to be presented to the user. Learn how this syntax can be used by
designers and how it can be extended by programmers:
* **For designers:**
:doc:`Syntax overview <topics/templates>` |
:doc:`Built-in tags and filters <ref/templates/builtins>` |
:doc:`Web design helpers <ref/contrib/webdesign>` |
:doc:`Humanization <ref/contrib/humanize>`
* **For programmers:**
:doc:`Template API <ref/templates/api>` |
:doc:`Custom tags and filters <howto/custom-template-tags>`
Forms Forms
===== =====
Django provides a rich framework to facilitate the creation of forms and the
manipulation of form data.
* **The basics:** * **The basics:**
:doc:`Overview <topics/forms/index>` | :doc:`Overview <topics/forms/index>` |
:doc:`Form API <ref/forms/api>` | :doc:`Form API <ref/forms/api>` |
@ -140,6 +158,9 @@ Forms
The development process The development process
======================= =======================
Learn about the various components and tools to help you in the development and
testing of Django applications:
* **Settings:** * **Settings:**
:doc:`Overview <topics/settings>` | :doc:`Overview <topics/settings>` |
:doc:`Full list of settings <ref/settings>` :doc:`Full list of settings <ref/settings>`
@ -161,46 +182,93 @@ The development process
:doc:`Handling static files <howto/static-files>` | :doc:`Handling static files <howto/static-files>` |
:doc:`Tracking code errors by email <howto/error-reporting>` :doc:`Tracking code errors by email <howto/error-reporting>`
Other batteries included The admin
======================== =========
* :doc:`Admin site <ref/contrib/admin/index>` | :doc:`Admin actions <ref/contrib/admin/actions>` | :doc:`Admin documentation generator<ref/contrib/admin/admindocs>` Find all you need to know about the automated admin interface, one of Django's
* :doc:`Authentication <topics/auth>` most popular features:
* :doc:`Cache system <topics/cache>`
* :doc:`Admin site <ref/contrib/admin/index>`
* :doc:`Admin actions <ref/contrib/admin/actions>`
* :doc:`Admin documentation generator<ref/contrib/admin/admindocs>`
Security
========
Security is a topic of paramount importance in the development of Web
applications and Django provides multiple protection tools and mechanisms:
* :doc:`Security overview <topics/security>`
* :doc:`Clickjacking protection <ref/clickjacking>` * :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>`
* :doc:`Content types and generic relations <ref/contrib/contenttypes>`
* :doc:`Cross Site Request Forgery protection <ref/contrib/csrf>` * :doc:`Cross Site Request Forgery protection <ref/contrib/csrf>`
* :doc:`Cryptographic signing <topics/signing>` * :doc:`Cryptographic signing <topics/signing>`
* :doc:`Databrowse <ref/contrib/databrowse>`
* :doc:`E-mail (sending) <topics/email>` Internationalization and localization
* :doc:`Flatpages <ref/contrib/flatpages>` =====================================
* :doc:`GeoDjango <ref/contrib/gis/index>`
* :doc:`Humanize <ref/contrib/humanize>` Django offers a robust internationalization and localization framework to
assist you in the development of applications for multiple languages and world
regions:
* :doc:`Internationalization <topics/i18n/index>` * :doc:`Internationalization <topics/i18n/index>`
* :doc:`Jython support <howto/jython>`
* :doc:`"Local flavor" <ref/contrib/localflavor>` * :doc:`"Local flavor" <ref/contrib/localflavor>`
* :doc:`Logging <topics/logging>`
* :doc:`Messages <ref/contrib/messages>` Python compatibility
* :doc:`Pagination <topics/pagination>` ====================
Django aims to be compatible with multiple different flavors and versions of
Python:
* :doc:`Jython support <howto/jython>`
* :doc:`Python 3 compatibility <topics/python3>` * :doc:`Python 3 compatibility <topics/python3>`
* :doc:`Redirects <ref/contrib/redirects>`
* :doc:`Security <topics/security>` Geographic framework
====================
:doc:`GeoDjango <ref/contrib/gis/index>` intends to be a world-class geographic
Web framework. Its goal is to make it as easy as possible to build GIS Web
applications and harness the power of spatially enabled data.
Common Web application tools
============================
Django offers multiple tools commonly needed in the development of Web
applications:
* :doc:`Authentication <topics/auth>`
* :doc:`Caching <topics/cache>`
* :doc:`Logging <topics/logging>`
* :doc:`Sending e-mails <topics/email>`
* :doc:`Syndication feeds (RSS/Atom) <ref/contrib/syndication>`
* :doc:`Comments <ref/contrib/comments/index>`, :doc:`comment moderation <ref/contrib/comments/moderation>` and :doc:`custom comments <ref/contrib/comments/custom>`
* :doc:`Pagination <topics/pagination>`
* :doc:`Messages framework <ref/contrib/messages>`
* :doc:`Serialization <topics/serialization>` * :doc:`Serialization <topics/serialization>`
* :doc:`Sessions <topics/http/sessions>` * :doc:`Sessions <topics/http/sessions>`
* :doc:`Signals <topics/signals>`
* :doc:`Sitemaps <ref/contrib/sitemaps>` * :doc:`Sitemaps <ref/contrib/sitemaps>`
* :doc:`Sites <ref/contrib/sites>` * :doc:`Static files management <ref/contrib/staticfiles>`
* :doc:`Static Files <ref/contrib/staticfiles>` * :doc:`Data validation <ref/validators>`
* :doc:`Syndication feeds (RSS/Atom) <ref/contrib/syndication>`
Other core functionalities
==========================
Learn about some other core functionalities of the Django framework:
* :doc:`Conditional content processing <topics/conditional-view-processing>`
* :doc:`Content types and generic relations <ref/contrib/contenttypes>`
* :doc:`Databrowse <ref/contrib/databrowse>`
* :doc:`Flatpages <ref/contrib/flatpages>`
* :doc:`Redirects <ref/contrib/redirects>`
* :doc:`Signals <topics/signals>`
* :doc:`The sites framework <ref/contrib/sites>`
* :doc:`Unicode in Django <ref/unicode>` * :doc:`Unicode in Django <ref/unicode>`
* :doc:`Web design helpers <ref/contrib/webdesign>`
* :doc:`Validators <ref/validators>`
The Django open-source project The Django open-source project
============================== ==============================
Learn about the development process for the Django project itself and about how
you can contribute:
* **Community:** * **Community:**
:doc:`How to get involved <internals/contributing/index>` | :doc:`How to get involved <internals/contributing/index>` |
:doc:`The release process <internals/release-process>` | :doc:`The release process <internals/release-process>` |