From c3e95d8cdb8ee75e2eee84322a4bb96883653c93 Mon Sep 17 00:00:00 2001 From: bbonf Date: Thu, 23 May 2024 11:03:03 +0200 Subject: [PATCH] axed axes --- lab/ppn_backend/settings_base.py | 3 --- lab/requirements.in | 1 - lab/requirements.txt | 5 ++--- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/lab/ppn_backend/settings_base.py b/lab/ppn_backend/settings_base.py index efcc6b82..e7e84257 100644 --- a/lab/ppn_backend/settings_base.py +++ b/lab/ppn_backend/settings_base.py @@ -14,7 +14,6 @@ "django.contrib.sessions", "django.contrib.messages", "django.contrib.staticfiles", - "axes", # Django extensions "django_extensions", "vue3_tag", @@ -53,7 +52,6 @@ "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", "impersonate.middleware.ImpersonateMiddleware", - "axes.middleware.AxesMiddleware", "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", "cdh.core.middleware.ThreadLocalUserMiddleware", @@ -61,7 +59,6 @@ ] AUTHENTICATION_BACKENDS = [ - "axes.backends.AxesBackend", "django.contrib.auth.backends.ModelBackend", ] diff --git a/lab/requirements.in b/lab/requirements.in index a9fc990d..99d59d15 100644 --- a/lab/requirements.in +++ b/lab/requirements.in @@ -1,5 +1,4 @@ Django>=4.2,<5.0 -django-axes django-braces django-csp django-simple-menu diff --git a/lab/requirements.txt b/lab/requirements.txt index 51ba5498..fd0c7047 100644 --- a/lab/requirements.txt +++ b/lab/requirements.txt @@ -52,7 +52,6 @@ django==4.2.11 # via # -r requirements.in # cdh-django-core - # django-axes # django-braces # django-csp # django-debug-toolbar @@ -62,8 +61,6 @@ django==4.2.11 # django-simple-menu # djangorestframework # djangosaml2 -django-axes==6.4.0 - # via -r requirements.in django-braces==1.15.0 # via # -r requirements.in @@ -80,6 +77,8 @@ django-extensions==3.2.3 # via # -r requirements.in # cdh-django-core +django-filter==24.2 + # via cdh-django-core django-impersonate==1.9.2 # via # -r requirements.in