From e20abe4ea9f62409e8fa05211eb1064c6bfd66d5 Mon Sep 17 00:00:00 2001 From: Anton M Date: Tue, 17 Dec 2024 03:25:02 +0100 Subject: [PATCH] fix for older django --- tests/v2/test_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/v2/test_forms.py b/tests/v2/test_forms.py index a8b07f2..ea1965e 100644 --- a/tests/v2/test_forms.py +++ b/tests/v2/test_forms.py @@ -161,4 +161,4 @@ def test_annotated_acceptance(): def test_form_render_without_default(): form = NoDefaultForm() - form.render() + form.as_p()