Ticket #5199: formset_logic.patch
File formset_logic.patch, 548 bytes (added by , 17 years ago) |
---|
-
formsets.py
21 21 """A collection of instances of the same Form class.""" 22 22 23 23 def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None, initial=None): 24 self.is_bound = data is not None andfiles is not None24 self.is_bound = data is not None or files is not None 25 25 self.prefix = prefix or 'form' 26 26 self.auto_id = auto_id 27 27 self.data = data