summaryrefslogtreecommitdiff
path: root/django/forms/forms.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2022-05-05 09:21:47 +0200
committerCarlton Gibson <carlton@noumenal.es>2022-05-05 14:32:43 +0200
commitec5659382a5f5fc2daf0c87ccc89d0fb07534874 (patch)
tree08a5183708f3490b97f61098d26272901d25b822 /django/forms/forms.py
parent27b07a3246bc033cd9ded01238c6dc64731cce35 (diff)
Fixed #32339 -- Added div.html form template.
Diffstat (limited to 'django/forms/forms.py')
-rw-r--r--django/forms/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py
index 2500dccc9b..35471345c9 100644
--- a/django/forms/forms.py
+++ b/django/forms/forms.py
@@ -66,6 +66,7 @@ class BaseForm(RenderableFormMixin):
prefix = None
use_required_attribute = True
+ template_name_div = "django/forms/div.html"
template_name_p = "django/forms/p.html"
template_name_table = "django/forms/table.html"
template_name_ul = "django/forms/ul.html"