Commit 93d86479 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #11480 -- Corrected markup error in admin docs. Thank to msgre for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 6f25903a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -774,7 +774,7 @@ problems:
Since this is usually not what you want, Django provides a convenience wrapper
to check permissions and mark the view as non-cacheable. This wrapper is
:meth:`AdminSite.admin_view` (i.e.  ``self.admin_site.admin_view`` inside a
``ModelAdmin`` instance); use it like so:
``ModelAdmin`` instance); use it like so::

    class MyModelAdmin(admin.ModelAdmin):
        def get_urls(self):