urls.py
changeset 34 ee00b42e802f
parent 28 4dfcc826b241
child 37 c701e68f8d35
--- a/urls.py	Fri Jan 07 11:48:33 2011 +0530
+++ b/urls.py	Fri Jan 07 11:53:11 2011 +0530
@@ -6,8 +6,8 @@
 from django.shortcuts import redirect
 
 # Uncomment the next two lines to enable the admin:
-# from django.contrib import admin
-# admin.autodiscover()
+from django.contrib import admin
+admin.autodiscover()
 
 urlpatterns = patterns('',
     # Example:
@@ -17,7 +17,7 @@
     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
 
     # Uncomment the next line to enable the admin:
-    # (r'^admin/', include(admin.site.urls)),
+    (r'^admin/', include(admin.site.urls)),
 
     url(r'^accounts/register/$', register,
         {'form_class': CustomRegistrationForm},