Modified the admin url to work with django version 1.3 2011
authorParth buch <parth.buch.115@gmail.com>
Thu, 08 Sep 2011 16:19:23 +0530
branch2011
changeset 378 0a9aa58f0586
parent 377 bbb0f40223be
child 379 7e843a934d74
Modified the admin url to work with django version 1.3
project/urls.py
--- a/project/urls.py	Thu Sep 08 16:10:54 2011 +0530
+++ b/project/urls.py	Thu Sep 08 16:19:23 2011 +0530
@@ -18,7 +18,7 @@
 
 # Admin
 urlpatterns = patterns('',
-    (r'^admin/(.*)', admin.site.root),
+    (r'^admin/(.*)', admin.site.urls),
     (r'^comments/', include('django.contrib.comments.urls')),
     (r'^robots\.txt$', include('robots.urls')),
     (r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}),