From af2c8c6fc21bc8613cafa6e335ec9282b3bf55bf Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 19 Oct 2021 09:14:02 +0200 Subject: [PATCH 1/2] Fix typo in tests/django_test.py. --- tests/django_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/django_test.py b/tests/django_test.py index 4695c24..16b4a72 100644 --- a/tests/django_test.py +++ b/tests/django_test.py @@ -37,7 +37,7 @@ def setUp(self): settings.INSTALLED_APPS # load settings on first access settings.DATABASES['default'] = {} settings.DATABASES['default']['NAME'] = path.join( - self.tmpdir, 'db.sqlilte3') + self.tmpdir, 'db.sqlite3') # this goes around the "settings already loaded" issue. self.override = UserSettingsHolder(settings._wrapped) settings._wrapped = self.override From 97fc4a7c2dab9b0b6c1156faf98fcb9eee0fdc61 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 19 Oct 2021 09:20:32 +0200 Subject: [PATCH 2/2] Update Django testing. --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index c9d2df4..92013fd 100644 --- a/tox.ini +++ b/tox.ini @@ -18,8 +18,8 @@ deps = coverage codecov>=1.4.0 coveralls - djangolts,pytest: django>=1.11.0,<1.12.0 - djangocurr: django>=2.2.0 + djangolts,pytest: django>=3.2.0,<4.0.0 + djangocurr: django>=4.0a1,<4.1.0 pytest: pytest lxml>=3.6.0 commands =