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
1 changed files with 0 additions and 7 deletions

View File

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