From d70e6f3f8b11efabefdfd79429dc170f55dfbacb Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Tue, 8 Jul 2014 13:33:06 -0400 Subject: [PATCH] Update for Djnango 1.4.5: admin.site.urls http://stackoverflow.com/questions/5503616/how-to-correct-this-error-adminsite-object-has-no-attribute-root --- www/conservancy/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/conservancy/urls.py b/www/conservancy/urls.py index 395e5bc7..8604a150 100644 --- a/www/conservancy/urls.py +++ b/www/conservancy/urls.py @@ -27,7 +27,7 @@ admin.autodiscover() urlpatterns = patterns('', (r'^admin/doc/', include('django.contrib.admindocs.urls')), - (r'^admin/(.*)', admin.site.root), + (r'^admin/(.*)', admin.site.urls), (r'^$', 'conservancy.frontpage.view'), (r'^feeds/(?P.*)/?$', 'django.contrib.syndication.views.feed', {'feed_dict': feed_dict}),