Ticket #6926: formsets.diff

File formsets.diff, 655 bytes (added by msundstr, 7 years ago)

path formsets.py to fix the ValidationError

  • formsets.py

     
    5353            self._initial_form_count = 0
    5454            self._total_form_count = self.extra
    5555        initial = {TOTAL_FORM_COUNT: self._total_form_count, INITIAL_FORM_COUNT: self._initial_form_count}
    56         self.management_form = ManagementForm(initial=initial, auto_id=auto_id, prefix=prefix)
     56        self.management_form = ManagementForm(initial=initial, auto_id=auto_id, prefix=self.prefix)
    5757
    5858        # instantiate all the forms and put them in self.forms
    5959        self.forms = []
Back to Top