Author: adrian Date: 2010-01-10 12:07:46 -0600 (Sun, 10 Jan 2010) New Revision: 12178
Modified: django/trunk/docs/topics/templates.txt Log: Fixed #11884 -- Clarified documentation to explain how to activate the built-in admin reference. Thanks, DmitryRisenberg and timo Modified: django/trunk/docs/topics/templates.txt =================================================================== --- django/trunk/docs/topics/templates.txt 2010-01-10 18:03:36 UTC (rev 12177) +++ django/trunk/docs/topics/templates.txt 2010-01-10 18:07:46 UTC (rev 12178) @@ -577,9 +577,19 @@ ============================ Django's admin interface includes a complete reference of all template tags and -filters available for a given site. To see it, go to your admin interface and -click the "Documentation" link in the upper right of the page. +filters available for a given site. To activate it, follow these steps: + * Add :mod:`django.contrib.admindocs` to your :setting:`INSTALLED_APPS`. + * Add ``(r'^admin/doc/', include('django.contrib.admindocs.urls'))`` to your + :data:`urlpatterns`. Make sure it's included *before* the ``r'^admin/'`` + entry, so that requests to ``/admin/doc/`` don't get handled by the + latter entry. + * Install the docutils module (http://docutils.sf.net/). + +After you've followed those steps, you can start browsing the documentation by +going to your admin interface and clicking the "Documentation" link in the +upper right of the page. + The reference is divided into 4 sections: tags, filters, models, and views. The **tags** and **filters** sections describe all the built-in tags (in fact,
-- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.