Changes between Initial Version and Version 2 of Ticket #8171


Ignore:
Timestamp:
Aug 8, 2008, 4:31:08 PM (16 years ago)
Author:
Brian Rosner
Comment:

Fixed description formatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8171

    • Property Owner changed from nobody to Brian Rosner
  • Ticket #8171 – Description

    initial v2  
    11A forms that doesn't have ordered prefix will not be process. On the sample the formset is expecting to process choices-0, choices-1, and choices-2 forms while choices-4, and choices-5 forms will be ignore but it should be process because the 3 forms we are referring here are the choices-0, choices-4, choices-5 and it should return False on formset.is_valid() since the choices-4 is invalid while choices-5 is considered valid since it is blank. As a result the formset is valid because it treats blank forms as valid which are choices-1 and choices-2.
    22
     3{{{
    34>>> data = {
    45...     'choices-TOTAL_FORMS': '3', # the number of forms rendered
     
    1516>>> formset.is_valid()
    1617True
     18}}}
Back to Top