# HG changeset patch # User Parth buch # Date 1315480291 -19800 # Node ID 0c66659b4807453a64114b7f3ca889c726d08dbe # Parent 0a9e3b8f6feeadd0d5424d2671e4e8340f5bb907 changed the admin url to django version 1.3 diff -r 0a9e3b8f6fee -r 0c66659b4807 project/urls.py --- a/project/urls.py Thu Sep 08 16:24:45 2011 +0530 +++ b/project/urls.py Thu Sep 08 16:41:31 2011 +0530 @@ -18,7 +18,7 @@ # Admin urlpatterns = patterns('', - (r'^admin/(.*)', admin.site.urls), + (r'^admin/', include(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}),