Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed reference to removed function root() in AdminSite docstring.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5bf73dd909b36a5aeff2ddbf3635e9394e08a5a7 1 parent 52efbf9
@spookylukey spookylukey authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/contrib/admin/sites.py
View
5 django/contrib/admin/sites.py
@@ -28,8 +28,9 @@ class AdminSite(object):
"""
An AdminSite object encapsulates an instance of the Django admin application, ready
to be hooked in to your URLconf. Models are registered with the AdminSite using the
- register() method, and the root() method can then be used as a Django view function
- that presents a full admin interface for the collection of registered models.
+ register() method, and the get_urls() method can then be used to access Django view
+ functions that present a full admin interface for the collection of registered
+ models.
"""
index_template = None
Please sign in to comment.
Something went wrong with that request. Please try again.