diff options
Diffstat (limited to 'django/conf/project_template/urls.py')
| -rw-r--r-- | django/conf/project_template/urls.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/django/conf/project_template/urls.py b/django/conf/project_template/urls.py index 98335a151c..7b56d73c9e 100644 --- a/django/conf/project_template/urls.py +++ b/django/conf/project_template/urls.py @@ -1,15 +1,16 @@ from django.conf.urls.defaults import * -# Uncomment this for admin: -#from django.contrib import admin +# 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 docs: - #(r'^admin/doc/', include('django.contrib.admindocs.urls')), + # Uncomment the next line to enable admin documentation: + # (r'^admin/doc/', include('django.contrib.admindocs.urls')), - # Uncomment this for admin: - #('^admin/(.*)', admin.site.root), + # Uncomment the next line for to enable the admin: + # (r'^admin/(.*)', admin.site.root), ) |
