fnp
/
django-cas-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redirect to login view instead of partially reimplementing it. Remove unusable flows...
[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
..
e089b8a
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
@@
-55,7
+51,7
@@
MEDIA_URL = ''
# Allow SHA1, because it's used in the fixture.
PASSWORD_HASHERS = [
# Allow SHA1, because it's used in the fixture.
PASSWORD_HASHERS = [
- 'django.contrib.auth.hashers.
SHA1
PasswordHasher',
+ 'django.contrib.auth.hashers.
MD5
PasswordHasher',
]
# Absolute path to the directory static files should be collected to.
]
# Absolute path to the directory static files should be collected to.
@@
-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'