summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-07-01 02:06:07 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-07-01 02:06:07 +0000
commit49d25eec2cf8daf29243d6f0c765666453984dc8 (patch)
tree9ba6ae0f9c5c80e15d2bc56ff665e6a7f766c2e3
parent6f4e933fcc78da11ec43214efd3472192030eced (diff)
newforms-admin: Changed project_template urls.py to use the new style for including the admin
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/conf/project_template/urls.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/django/conf/project_template/urls.py b/django/conf/project_template/urls.py
index 661b3e1f0f..98335a151c 100644
--- a/django/conf/project_template/urls.py
+++ b/django/conf/project_template/urls.py
@@ -1,5 +1,8 @@
from django.conf.urls.defaults import *
+# Uncomment this for admin:
+#from django.contrib import admin
+
urlpatterns = patterns('',
# Example:
# (r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')),
@@ -8,5 +11,5 @@ urlpatterns = patterns('',
#(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment this for admin:
- #(r'^admin/', include('django.contrib.admin.urls')),
+ #('^admin/(.*)', admin.site.root),
)