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:
Russell Keith-Magee 2009-07-15 13:57:46 +00:00
parent 6f25903a89
commit 93d86479e3
1 changed files with 1 additions and 1 deletions

View File

@ -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):