Skip to content

Commit

Permalink
Avoid deprecation warning when rendering wizard ManagementForm
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Sep 5, 2022
1 parent 8a02dbc commit be1f631
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions formtools/wizard/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit be1f631

Please sign in to comment.