# HG changeset patch # User Parth buch # Date 1315478963 -19800 # Node ID 0a9aa58f058678224e96e049f308e97d9cabe30a # Parent bbb0f40223be8cffc1640c04c9d7160e78b8daf5 Modified the admin url to work with django version 1.3 diff -r bbb0f40223be -r 0a9aa58f0586 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}),