diff --git a/django/conf/project_template/settings/main.py b/django/conf/project_template/settings/main.py index b78c846c23..56b1f023ce 100644 --- a/django/conf/project_template/settings/main.py +++ b/django/conf/project_template/settings/main.py @@ -29,6 +29,11 @@ MEDIA_URL = '' # Make this unique, and don't share it with anybody. SECRET_KEY = '' +MIDDLEWARE_CLASSES = ( + "django.middleware.common.CommonMiddleware", + "django.middleware.doc.XViewMiddleware", +) + ROOT_URLCONF = '{{ project_name }}.settings.urls.main' TEMPLATE_DIRS = (