fnp
/
django-cas-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for Python 3.10 and Django 4.0, drop Python 3.5, Python 3.6, Django 1.9,...
[django-cas-provider.git]
/
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
(file)
--- 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
# Django settings for xxx project.
DEBUG = True
@@
-99,8
+95,6
@@
MIDDLEWARE = (
'django.contrib.messages.middleware.MessageMiddleware',
)
'django.contrib.messages.middleware.MessageMiddleware',
)
-# For Django < 1.10
-MIDDLEWARE_CLASSES = MIDDLEWARE
ROOT_URLCONF = 'simple.urls'
ROOT_URLCONF = 'simple.urls'
@@
-160,3
+154,6
@@
LOGGING = {
},
}
}
},
}
}
+
+
+DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'