mirror of
https://github.com/django/django.git
synced 2024-12-26 11:06:07 +00:00
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
This commit is contained in:
parent
d22e88898f
commit
071037ff80
@ -29,6 +29,11 @@ MEDIA_URL = ''
|
|||||||
# Make this unique, and don't share it with anybody.
|
# Make this unique, and don't share it with anybody.
|
||||||
SECRET_KEY = ''
|
SECRET_KEY = ''
|
||||||
|
|
||||||
|
MIDDLEWARE_CLASSES = (
|
||||||
|
"django.middleware.common.CommonMiddleware",
|
||||||
|
"django.middleware.doc.XViewMiddleware",
|
||||||
|
)
|
||||||
|
|
||||||
ROOT_URLCONF = '{{ project_name }}.settings.urls.main'
|
ROOT_URLCONF = '{{ project_name }}.settings.urls.main'
|
||||||
|
|
||||||
TEMPLATE_DIRS = (
|
TEMPLATE_DIRS = (
|
||||||
|
Loading…
Reference in New Issue
Block a user