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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29739, comment 1

    initial v1  
    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.
     1I 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
    33A 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.
Back to Top