app/django/conf/project_template/urls.py
changeset 323 ff1a9aa48cfd
parent 54 03e267d67478
--- a/app/django/conf/project_template/urls.py	Tue Oct 14 12:36:55 2008 +0000
+++ b/app/django/conf/project_template/urls.py	Tue Oct 14 16:00:59 2008 +0000
@@ -1,9 +1,17 @@
 from django.conf.urls.defaults import *
 
+# Uncomment the next two lines to enable the admin:
+# from django.contrib import admin
+# admin.autodiscover()
+
 urlpatterns = patterns('',
     # Example:
     # (r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')),
 
-    # Uncomment this for admin:
-#     (r'^admin/', include('django.contrib.admin.urls')),
+    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
+    # to INSTALLED_APPS to enable admin documentation:
+    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
+
+    # Uncomment the next line to enable the admin:
+    # (r'^admin/(.*)', admin.site.root),
 )