Redirect to login view instead of partially reimplementing it. Remove unusable flows...
[django-cas-provider.git] / cas_provider_examples / simple / settings.py
index 8cf53ed..e089b8a 100644 (file)
@@ -51,7 +51,7 @@ MEDIA_URL = ''
 
 # Allow SHA1, because it's used in the fixture.
 PASSWORD_HASHERS = [
-    'django.contrib.auth.hashers.SHA1PasswordHasher',
+    'django.contrib.auth.hashers.MD5PasswordHasher',
 ]
 
 # Absolute path to the directory static files should be collected to.
@@ -154,3 +154,6 @@ LOGGING = {
         },
     }
 }
+
+
+DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'