enable sites framework, useful for some SOAP stuff

This commit is contained in:
Brian S. Stephan 2015-08-14 16:52:57 -05:00
parent c8bedebe97
commit f18569b636
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,7 @@ INSTALLED_APPS = (
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'django.contrib.sites',
'django_extensions', 'django_extensions',
'adminplus', 'adminplus',
'rest_framework', 'rest_framework',
@ -108,6 +109,10 @@ USE_L10N = True
USE_TZ = True USE_TZ = True
# site ID, for anything that needs it (e.g. referring to the domain)
SITE_ID = 1
# templates # templates
TEMPLATE_DIRS = ( TEMPLATE_DIRS = (
os.path.join(BASE_DIR, 'templates'), os.path.join(BASE_DIR, 'templates'),