diff options
Diffstat (limited to 'django/conf')
| -rw-r--r-- | django/conf/project_template/project_name/settings.py | 2 | ||||
| -rw-r--r-- | django/conf/project_template/project_name/urls.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/django/conf/project_template/project_name/settings.py b/django/conf/project_template/project_name/settings.py index efe8091e81..198a3e0d92 100644 --- a/django/conf/project_template/project_name/settings.py +++ b/django/conf/project_template/project_name/settings.py @@ -30,7 +30,7 @@ ALLOWED_HOSTS = [] # Application definition INSTALLED_APPS = ( - 'django.contrib.admin', + 'django.contrib.admin.apps.AdminConfig', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', diff --git a/django/conf/project_template/project_name/urls.py b/django/conf/project_template/project_name/urls.py index f03a29478d..d85c6f8e28 100644 --- a/django/conf/project_template/project_name/urls.py +++ b/django/conf/project_template/project_name/urls.py @@ -1,7 +1,5 @@ from django.conf.urls import patterns, include, url - from django.contrib import admin -admin.autodiscover() urlpatterns = patterns('', # Examples: |
