project/urls.py
branch2011
changeset 382 0c66659b4807
parent 378 0a9aa58f0586
child 419 d68f4cfebfab
--- 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}),