X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/fdbd98e576514c2a58183132369dccfb5781804a..122f2f5678cfe723a44c140206da2cb9117b46ee:/cas_provider_examples/simple/settings.py diff --git a/cas_provider_examples/simple/settings.py b/cas_provider_examples/simple/settings.py index 6a520b4..e594559 100644 --- a/cas_provider_examples/simple/settings.py +++ b/cas_provider_examples/simple/settings.py @@ -1,7 +1,3 @@ -from __future__ import unicode_literals - -from django import VERSION - # Django settings for xxx project. DEBUG = True @@ -99,8 +95,6 @@ MIDDLEWARE = ( 'django.contrib.messages.middleware.MessageMiddleware', ) -# For Django < 1.10 -MIDDLEWARE_CLASSES = MIDDLEWARE ROOT_URLCONF = 'simple.urls' @@ -160,3 +154,6 @@ LOGGING = { }, } } + + +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'