File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -577,8 +577,18 @@ Using the built-in reference
577
577
============================
578
578
579
579
Django's admin interface includes a complete reference of all template tags and
580
- filters available for a given site. To see it, go to your admin interface and
581
- click the "Documentation" link in the upper right of the page.
580
+ filters available for a given site. To activate it, follow these steps:
581
+
582
+ * Add :mod:`django.contrib.admindocs` to your :setting:`INSTALLED_APPS`.
583
+ * Add ``(r'^admin/doc/', include('django.contrib.admindocs.urls'))`` to your
584
+ :data:`urlpatterns`. Make sure it's included *before* the ``r'^admin/'``
585
+ entry, so that requests to ``/admin/doc/`` don't get handled by the
586
+ latter entry.
587
+ * Install the docutils module (http://docutils.sf.net/).
588
+
589
+ After you've followed those steps, you can start browsing the documentation by
590
+ going to your admin interface and clicking the "Documentation" link in the
591
+ upper right of the page.
582
592
583
593
The reference is divided into 4 sections: tags, filters, models, and views.
584
594
You can’t perform that action at this time.
0 commit comments