Ticket #6926: formsets.diff
File formsets.diff, 655 bytes (added by , 17 years ago) |
---|
-
formsets.py
53 53 self._initial_form_count = 0 54 54 self._total_form_count = self.extra 55 55 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) 57 57 58 58 # instantiate all the forms and put them in self.forms 59 59 self.forms = []