Ticket #11884: templates_doc.diff

File templates_doc.diff, 1.1 KB (added by DmitryRisenberg, 6 years ago)

Patch to documentation

  • docs/topics/templates.txt

     
    582582============================
    583583
    584584Django's admin interface includes a complete reference of all template tags and
    585 filters available for a given site. To see it, go to your admin interface and
    586 click the "Documentation" link in the upper right of the page.
     585filters available for a given site. To make it work, do the following steps:
    587586
     587* Add :mod:`django.contrib.admindocs.urls` to your :setting:`INSTALLED_APPS`.
     588* Add ``(r'^admin/doc/', include('django.contrib.admindocs.urls'))`` to your
     589  :data:`urlpatterns`.
     590* Make sure docutils__ module is installed on your system.
     591
     592__ http://docutils.sf.net/
     593
     594After that you can start browsing the documentation by going to your admin
     595interface and clicking the "Documentation" link in the upper right of the page.
     596
    588597The reference is divided into 4 sections: tags, filters, models, and views.
    589598
    590599The **tags** and **filters** sections describe all the built-in tags (in fact,
Back to Top