Skip to content

Commit a20433a

Browse files
committed
chore(django): remove the use of site framework
Only one django site is used so we do not need the site framework (https://docs.djangoproject.com/en/1.9/ref/contrib/sites/)
1 parent ba6b951 commit a20433a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

rootfs/deis/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
# http://www.i18nguy.com/unicode/language-identifiers.html
3636
LANGUAGE_CODE = 'en-us'
3737

38-
SITE_ID = 1
39-
4038
# If you set this to False, Django will make some optimizations so as not
4139
# to load the internationalization machinery.
4240
USE_I18N = True
@@ -90,7 +88,6 @@
9088
'django.middleware.common.CommonMiddleware',
9189
'django.contrib.auth.middleware.AuthenticationMiddleware',
9290
'django.contrib.messages.middleware.MessageMiddleware',
93-
'django.contrib.sites.middleware.CurrentSiteMiddleware',
9491
'api.middleware.APIVersionMiddleware',
9592
'deis.middleware.PlatformVersionMiddleware',
9693
# Uncomment the next line for simple clickjacking protection:
@@ -108,7 +105,6 @@
108105
'django.contrib.humanize',
109106
'django.contrib.messages',
110107
'django.contrib.sessions',
111-
'django.contrib.sites',
112108
# Third-party apps
113109
'corsheaders',
114110
'guardian',

0 commit comments

Comments
 (0)