summaryrefslogtreecommitdiff
path: root/django/forms/formsets.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-13 09:32:35 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-17 11:49:15 +0100
commit98756c685ee173bbd43f21ed0553f808be835ce5 (patch)
treef0d70ed7fa9348ba94d8889cf284792a880c28b2 /django/forms/formsets.py
parentb5ac6e78f838376b61f3f7dfccd66f906ad6d394 (diff)
Refs #32339 -- Changed default form and formset rendering style to div-based.
Per deprecation timeline. This also removes "django/forms/default.html" and "django/forms/formsets/default.html" templates.
Diffstat (limited to 'django/forms/formsets.py')
-rw-r--r--django/forms/formsets.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/forms/formsets.py b/django/forms/formsets.py
index f14e1aae83..235aaf844c 100644
--- a/django/forms/formsets.py
+++ b/django/forms/formsets.py
@@ -32,8 +32,6 @@ class ManagementForm(Form):
as well.
"""
- template_name = "django/forms/div.html" # RemovedInDjango50Warning.
-
TOTAL_FORMS = IntegerField(widget=HiddenInput)
INITIAL_FORMS = IntegerField(widget=HiddenInput)
# MIN_NUM_FORM_COUNT and MAX_NUM_FORM_COUNT are output with the rest of the