Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed 'django-admin startproject' to included MIDDLEWARE_CLASSES in…

… settings/main.py.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 071037ff80119656f46400cb0c2a1453e80c37f1 1 parent d22e888
@adrianholovaty adrianholovaty authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 django/conf/project_template/settings/main.py
View
5 django/conf/project_template/settings/main.py
@@ -29,6 +29,11 @@
# 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 = (

0 comments on commit 071037f

Please sign in to comment.
Something went wrong with that request. Please try again.