From 5bf73dd909b36a5aeff2ddbf3635e9394e08a5a7 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Thu, 14 Oct 2010 01:24:20 +0000 Subject: [PATCH] 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 --- django/contrib/admin/sites.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index 45de459631..c763b1dc17 100644 --- a/django/contrib/admin/sites.py +++ b/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