From be1f631b5df5396861a6d9515d466261d8e7a858 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 5 Sep 2022 14:40:13 +0200 Subject: [PATCH] Avoid deprecation warning when rendering wizard ManagementForm See also https://code.djangoproject.com/ticket/33876 --- formtools/wizard/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/formtools/wizard/forms.py b/formtools/wizard/forms.py index cd00517f..11cf4222 100644 --- a/formtools/wizard/forms.py +++ b/formtools/wizard/forms.py @@ -5,4 +5,5 @@ class ManagementForm(forms.Form): """ ``ManagementForm`` is used to keep track of the current wizard step. """ + template_name = "django/forms/p.html" # Remove when Django 5.0 is minimal version. current_step = forms.CharField(widget=forms.HiddenInput)