Compare commits

...

1 commit

Author SHA1 Message Date
Théophile Bastian
cdb98b8065 Update to Django 3.2 and django_cas_server 1.3 2022-09-25 20:30:52 +02:00
2 changed files with 28 additions and 29 deletions

View file

@ -67,9 +67,15 @@ AUTH_PASSWORD_VALIDATORS = [
{ {
"NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator", "NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator",
}, },
{"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator",}, {
{"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator",}, "NAME": "django.contrib.auth.password_validation.MinimumLengthValidator",
{"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",}, },
{
"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator",
},
{
"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",
},
] ]
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
@ -80,6 +86,13 @@ STATIC_ROOT = os.path.join(PUBLIC_DIR, "static")
CAS_SHOW_SERVICE_MESSAGES = False CAS_SHOW_SERVICE_MESSAGES = False
CAS_LOGIN_TEMPLATE = "cas_server/login.html"
CAS_LOGOUT_TEMPLATE = "cas_server/logout.html"
CAS_WARN_TEMPLATE = "cas_server/warn.html"
CAS_LOGGED_TEMPLATE = "cas_server/logged.html"
# Internationalization # Internationalization
LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")] LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")]
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"

View file

@ -1,27 +1,13 @@
backcall==0.1.0 asgiref==3.5.2
certifi==2019.11.28 certifi==2022.9.24
chardet==3.0.4 charset-normalizer==2.1.1
decorator==4.4.2 Django==3.2.15
Django==2.1.15 django-cas-server==1.3.1
idna==2.9 idna==3.4
ipython==7.13.0 lxml==4.9.1
ipython-genutils==0.2.0 pytz==2022.2.1
jedi==0.16.0 requests==2.28.1
ldap3==2.7
lxml==4.5.0
parso==0.6.2
pexpect==4.8.0
pickleshare==0.7.5
prompt-toolkit==3.0.4
ptyprocess==0.6.0
pyasn1==0.4.8
Pygments==2.6.1
pytz==2019.3
requests==2.23.0
requests-futures==1.0.0 requests-futures==1.0.0
six==1.14.0 six==1.16.0
traitlets==4.3.3 sqlparse==0.4.3
urllib3==1.25.8 urllib3==1.26.12
wcwidth==0.1.9
#django-cas-server==1.1.0
git+https://github.com/tobast/django-cas-server@fix_crypt_des