diff --git a/examples/project/app/tests.py b/examples/project/app/tests.py index 18ca6ae..9b1500f 100644 --- a/examples/project/app/tests.py +++ b/examples/project/app/tests.py @@ -54,7 +54,7 @@ def test_render_fieldset(self): def test_render_inline_fieldset(self): - InlineForm = inlineformset_factory(Student, Note, + InlineForm = inlineformset_factory(Student, Note, fields=('subject', 'value',), exclude=('pk',), can_delete=False, ) context = Context({'form': self.form, 'form_inline': InlineForm()}) @@ -95,5 +95,4 @@ def test_render_inline_fieldset(self): ## inline self.assertInHTML('