Ticket #9027: mf_f-can-delete.diff
File mf_f-can-delete.diff, 626 bytes (added by , 16 years ago) |
---|
-
django/forms/models.py
419 419 420 420 def modelformset_factory(model, form=ModelForm, formfield_callback=lambda f: f.formfield(), 421 421 formset=BaseModelFormSet, 422 extra=1, can_delete= False, can_order=False,422 extra=1, can_delete=True, can_order=False, 423 423 max_num=0, fields=None, exclude=None): 424 424 """ 425 425 Returns a FormSet class for the given Django model class.