Ticket #4867: check-is_bound.2.diff
File check-is_bound.2.diff, 679 bytes (added by , 17 years ago) |
---|
-
django/branches/newforms-admin/django/newforms/formsets.py
146 146 return '%s-%s' % (self.prefix, index) 147 147 148 148 def is_valid(self): 149 if not self.is_bound: 150 return False 149 151 self.full_clean() 150 152 return self._is_valid 151 153 … … 159 161 for formset in formsets: 160 162 if not formset.is_valid(): 161 163 return False 162 return True 163 No newline at end of file 164 return True