Changes between Version 1 and Version 2 of Ticket #29739, comment 1
- Timestamp:
- Sep 6, 2018, 4:25:05 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29739, comment 1
v1 v2 1 1 I am happy to write a patch for this. I lean towards `max` rather than adding `len(initial_extra)` forms, it all depends on the philosophy of what `extra` represents. 2 2 3 A fix could be implemented by either adding a `BaseModelFormSet.total_form_count()` method, or adding a `BaseFormSet.get_extra_form_count()` method analogous to `get_initial_form_count()` and overwritten by `BaseModelFormSet`. I am happy to do either if someone could provide guidance.3 A fix could be implemented by either adding a `BaseModelFormSet.total_form_count()` method, or adding a `BaseFormSet.get_extra_form_count()` method analogous to `get_initial_form_count()` and overwritten by `BaseModelFormSet`. I am happy to do either if someone could provide a preference.