+from __future__ import unicode_literals
+
+from django import VERSION
+
# Django settings for xxx project.
DEBUG = True
PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
TEMPLATE_DIRS = (
- os.path.join(PROJECT_PATH, 'templates')
+ os.path.join(PROJECT_PATH, 'templates'),
)
INSTALLED_APPS = (
+ 'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'cas_provider',
- 'south',
+ 'simple',
)
+if VERSION < (1, 7):
+ INSTALLED_APPS += ('south',)
+
# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error.