Ticket #11884: templates_doc.diff
File templates_doc.diff, 1.1 KB (added by , 15 years ago) |
---|
-
docs/topics/templates.txt
582 582 ============================ 583 583 584 584 Django'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. 585 filters available for a given site. To make it work, do the following steps: 587 586 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 594 After that you can start browsing the documentation by going to your admin 595 interface and clicking the "Documentation" link in the upper right of the page. 596 588 597 The reference is divided into 4 sections: tags, filters, models, and views. 589 598 590 599 The **tags** and **filters** sections describe all the built-in tags (in fact,