Add South migrations back, use in tests in Django<1.7.
[django-cas-provider.git] / cas_provider_examples / simple / settings.py
index 51a1436..2d4eda3 100644 (file)
@@ -1,5 +1,7 @@
 from __future__ import unicode_literals
 
+from django import VERSION
+
 # Django settings for xxx project.
 
 DEBUG = True
@@ -121,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.