Changes between Initial Version and Version 1 of Ticket #20084, comment 5


Ignore:
Timestamp:
Mar 19, 2013, 7:17:29 PM (11 years ago)
Author:
andrewsg

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20084, comment 5

    initial v1  
    1010
    1111I have been testing BaseFormSet in various permutations and with various sets of forged POST data, and I haven't been able to get the formset to limit the number of created objects to the defined max_num or the default max_num.  absolute_max does seem to affect the number of forms rendered on the page, but it doesn't seem to affect the number of objects returned from the formset.cleaned_data property even if the POST data is forged to contain a very large number.
     12
     13(Edit: I talked to carljm in person here at pycon and discovered that the absolute_max limit of 1000 is actually working, but only in that it throws an IndexError.  I had observed that earlier but thought the IndexError was due to something else.  Ideally the 500 error result would be improved upon in any patch for this issue.)
Back to Top