X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/d53d0a307c10efb05ce0de82ab690c94c5deb5a4..aa7e32228fc101bb754786a58510a8b7899adfcb:/cas_provider_examples/simple/settings.py diff --git a/cas_provider_examples/simple/settings.py b/cas_provider_examples/simple/settings.py index 679863a..2d4eda3 100644 --- a/cas_provider_examples/simple/settings.py +++ b/cas_provider_examples/simple/settings.py @@ -1,3 +1,7 @@ +from __future__ import unicode_literals + +from django import VERSION + # Django settings for xxx project. DEBUG = True @@ -119,6 +123,9 @@ INSTALLED_APPS = ( '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.