diff options
| author | Brian Rosner <brosner@gmail.com> | 2008-07-20 18:09:27 +0000 |
|---|---|---|
| committer | Brian Rosner <brosner@gmail.com> | 2008-07-20 18:09:27 +0000 |
| commit | effa2993427cd49c40acc3982f658c0d4f78c4b5 (patch) | |
| tree | 31aa98dbe6f8ae8650925266d4af9636225ef029 /django/conf/project_template | |
| parent | a53a1ba5419422e8611caefbab13bd4db8c53bc3 (diff) | |
Added admin.autodiscover() to project template urls.py. It is left commented out intentionally. Thanks tome for the suggestion. Refs #7824.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/conf/project_template')
| -rw-r--r-- | django/conf/project_template/urls.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/conf/project_template/urls.py b/django/conf/project_template/urls.py index 8cf7461201..ba2f5ef297 100644 --- a/django/conf/project_template/urls.py +++ b/django/conf/project_template/urls.py @@ -3,6 +3,9 @@ from django.conf.urls.defaults import * # Uncomment this for admin: # from django.contrib import admin +# Uncomment to load INSTALLED_APPS admin.py module for default AdminSite instance. +# admin.autodiscover() + urlpatterns = patterns('', # Example: # (r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')), |
