Repository: oliwarner/django-multifactor (language: python)

Issue:
Django 4.1 support
From the testing I've run from my fork this looks good to work with Django 4.1 so I've created a PR


Discussion / hints:

Fix patch:
diff --git a/pyproject.toml b/pyproject.toml
index 08f6986..1cb9d5c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,6 +17,7 @@ classifiers = [
     "Framework :: Django :: 3.1",
     "Framework :: Django :: 3.2",
     "Framework :: Django :: 4.0",
+    "Framework :: Django :: 4.1",
     "Intended Audience :: Developers",
     "Operating System :: OS Independent",
     "Programming Language :: Python",
@@ -38,7 +39,7 @@ include = [
 
 [tool.poetry.dependencies]
 python = "^3.5, ^3.6 || ^3.7 || ^3.8 || ^3.9 || ^3.10"
-django = "> 2.2, <4.1"
+django = "> 2.2, <4.2"
 pyotp = '^2.6'
 python-u2flib-server = '^5.0'
 python-jose = '^3'


Test patch:
diff --git a/testsite/requirements.txt b/testsite/requirements.txt
index 2ad2c66..6835980 100644
--- a/testsite/requirements.txt
+++ b/testsite/requirements.txt
@@ -1,4 +1,4 @@
 pip
-Django<=4.0.999
+Django<=4.2
 django-decorator-include
 -e ../