Ticket #13095: ticket13095_r12761.diff

File ticket13095_r12761.diff, 636 bytes (added by Harro, 15 years ago)

Bug in inlineformset_factory patch

  • django/forms/models.py

     
    797797                          formset=BaseInlineFormSet, fk_name=None,
    798798                          fields=None, exclude=None,
    799799                          extra=3, can_order=False, can_delete=True, max_num=0,
    800                           formfield_callback=lambda f: f.formfield()):
     800                          formfield_callback=lambda f, **kwargs: f.formfield(**kwargs)):
    801801    """
    802802    Returns an ``InlineFormSet`` for the given kwargs.
    803803
Back to Top