mirror of https://github.com/django/django.git
Removed duplicate definition of ChoiceFormSet.
This commit is contained in:
parent
e1d8426c2f
commit
e862296960
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue