Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethreitz committed Feb 12, 2016
1 parent b5e702d commit ae95c67
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions project_name/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@

# Application definition

INSTALLED_APPS = [
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]
)

MIDDLEWARE_CLASSES = [
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
Expand All @@ -46,11 +46,11 @@
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware',
]
)

ROOT_URLCONF = '{{ project_name }}.urls'

TEMPLATES = [
TEMPLATES = (
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
Expand All @@ -65,7 +65,7 @@
'debug': DEBUG,
},
},
]
)

WSGI_APPLICATION = '{{ project_name}}.wsgi.application'

Expand All @@ -80,7 +80,7 @@
}
}

AUTH_PASSWORD_VALIDATORS = [
AUTH_PASSWORD_VALIDATORS = (
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
Expand All @@ -93,7 +93,7 @@
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
)

# Internationalization
# https://docs.djangoproject.com/en/1.9/topics/i18n/
Expand Down

0 comments on commit ae95c67

Please sign in to comment.