"default.html" deprecation warning raised for ManagementForm's
I have a project where I never render forms with the {{ form }} expression. However, I'm still getting the new template deprecation warning because of the formset management form production, during which the template used is insignificant (only hidden inputs are produced).
Is it worth special-casing this and avoid producing the warning for the management forms?
Change History
(6)
| Cc: |
David Smith Carlton Gibson added
|
| Severity: |
Normal → Release blocker
|
| Triage Stage: |
Unreviewed → Accepted
|
| Owner: |
changed from nobody to Carlton Gibson
|
| Status: |
new → assigned
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
Thanks for the report. I think it's worth changing. As far as I'm aware, it's quite often that management form is the only one that users render with
{{ form }}. It should also be quite easy to workaround:django/forms/formsets.py