1
0
mirror of https://github.com/django/django.git synced 2025-01-03 06:55:47 +00:00

Removed duplicate definition of ChoiceFormSet.

This commit is contained in:
Jon Dufresne 2016-03-24 17:40:22 -07:00 committed by Tim Graham
parent e1d8426c2f
commit e862296960

View File

@ -1232,13 +1232,6 @@ data = {
} }
class Choice(Form):
choice = CharField()
votes = IntegerField()
ChoiceFormSet = formset_factory(Choice)
class FormsetAsFooTests(SimpleTestCase): class FormsetAsFooTests(SimpleTestCase):
def test_as_table(self): def test_as_table(self):
formset = ChoiceFormSet(data, auto_id=False, prefix='choices') formset = ChoiceFormSet(data, auto_id=False, prefix='choices')