enabled admin interface in urls.py
authornishanth
Sat, 29 May 2010 10:33:27 +0530
changeset 16 91518c60131d
parent 15 1c2d2e702aee
child 17 ee98a9b44ef9
enabled admin interface in urls.py
urls.py
--- a/urls.py	Sat May 29 10:32:09 2010 +0530
+++ b/urls.py	Sat May 29 10:33:27 2010 +0530
@@ -1,8 +1,8 @@
 from django.conf.urls.defaults import *
 
 # Uncomment the next two lines to enable the admin:
-# from django.contrib import admin
-# admin.autodiscover()
+from django.contrib import admin
+admin.autodiscover()
 
 from sage_days.sdi.views import register
 from sage_days.settings import APACHE_URL_PREFIX as aup
@@ -16,7 +16,7 @@
     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
 
     # Uncomment the next line to enable the admin:
-    # (r'^admin/', include(admin.site.urls)),
+    (r'^administration/', include(admin.site.urls)),
 
     (r'^registration/', include('sage_days.sdi.site.urls')),
 )