Changes between Version 1 and Version 2 of Ticket #29739, comment 1


Ignore:
Timestamp:
Sep 6, 2018, 4:25:05 AM (6 years ago)
Author:
Mark Gensler

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29739, comment 1

    v1 v2  
    11I 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.
    22
    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.
     3A 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.
Back to Top