summaryrefslogtreecommitdiff
path: root/tests/runtests.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2022-05-05 14:26:09 +0200
committerCarlton Gibson <carlton.gibson@noumenal.es>2022-05-17 11:16:54 +0200
commitd126eba3637d84caa80fa4258e2e59ef07a8260c (patch)
treee135d40a0934710bae8dcb7e912b49695e600adb /tests/runtests.py
parent6af8673255ad2aca01097db9a8c64dc6b31678c0 (diff)
Refs #32339 -- Deprecated default.html form template.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Diffstat (limited to 'tests/runtests.py')
-rwxr-xr-xtests/runtests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index e3a60d777b..e5adb902c3 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -243,6 +243,9 @@ def setup_collect_tests(start_at, start_after, test_labels=None):
"fields.W342", # ForeignKey(unique=True) -> OneToOneField
]
+ # RemovedInDjango50Warning
+ settings.FORM_RENDERER = "django.forms.renderers.DjangoDivFormRenderer"
+
# Load all the ALWAYS_INSTALLED_APPS.
django.setup()