Formset::_get_ordered_forms() code documentation incorrectly describes logic.
|Reported by:||mark_hildreth||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The code comment for _get_ordered_forms (django/forms/formsets.py, line: 142-143), reads as followed:
Returns a list of form in the order specified by the incoming data.
Raises an AttributeError if deletion is not allowed.
This should say that it raises an AttributeError if ordering is not allow.
Change History (5)
Changed 6 years ago by mark_hildreth
comment:2 Changed 5 years ago by jacob
- milestone set to 1.1
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:3 Changed 5 years ago by jkocherhans
- Resolution set to fixed
- Status changed from new to closed