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
This commit is contained in:
parent
6f25903a89
commit
93d86479e3
|
@ -774,7 +774,7 @@ problems:
|
||||||
Since this is usually not what you want, Django provides a convenience wrapper
|
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
|
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
|
: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):
|
class MyModelAdmin(admin.ModelAdmin):
|
||||||
def get_urls(self):
|
def get_urls(self):
|
||||||
|
|
Loading…
Reference in New Issue