Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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
  • Loading branch information...
commit 93d86479e377eb5a3f3fb8436a1ddcbfb9ad9b7e 1 parent 6f25903
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/contrib/admin/index.txt
View
2  docs/ref/contrib/admin/index.txt
@@ -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):
Please sign in to comment.
Something went wrong with that request. Please try again.