Update to Django 3.2 and django_cas_server 1.3

This commit is contained in:
Théophile Bastian 2022-09-25 20:30:52 +02:00
parent 0ca07557fd
commit cdb98b8065
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.MinimumLengthValidator",},
{"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator",},
{"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",},
{
"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator",
},
{
"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator",
},
{
"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",
},
]
# Static files (CSS, JavaScript, Images)
@ -80,6 +86,13 @@ STATIC_ROOT = os.path.join(PUBLIC_DIR, "static")
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
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
certifi==2019.11.28
chardet==3.0.4
decorator==4.4.2
Django==2.1.15
idna==2.9
ipython==7.13.0
ipython-genutils==0.2.0
jedi==0.16.0
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
asgiref==3.5.2
certifi==2022.9.24
charset-normalizer==2.1.1
Django==3.2.15
django-cas-server==1.3.1
idna==3.4
lxml==4.9.1
pytz==2022.2.1
requests==2.28.1
requests-futures==1.0.0
six==1.14.0
traitlets==4.3.3
urllib3==1.25.8
wcwidth==0.1.9
#django-cas-server==1.1.0
git+https://github.com/tobast/django-cas-server@fix_crypt_des
six==1.16.0
sqlparse==0.4.3
urllib3==1.26.12