Missing inline doc comment for Field.template_name.
Field.__init__() has inline comments documenting most of its arguments (required, label, initial, etc.), but template_name is missing one.
I propose adding a short comment in the same style:
# template_name -- Name of the template to use in Field.as_field_group.
# By default Django uses the "django/forms/field.html"
# template which is designed for use with the default
# "django/forms/div.html" form style.
Change History
(7)
| Owner: |
set to Zishan Kadri
|
| Status: |
new → assigned
|
| Severity: |
Normal → Low
|
| Triage Stage: |
Unreviewed → Accepted
|
| Patch needs improvement: |
set
|
| Patch needs improvement: |
unset
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Summary: |
Forms: Add missing inline doc comment for Field.template_name. → Missing inline doc comment for Field.template_name.
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
Sounds reasonable; it would be consistent with the other comments in this area.