diff options
| author | Ramin Farajpour Cami <ramin.blackhat@gmail.com> | 2016-11-12 20:41:23 +0330 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-14 12:30:46 -0500 |
| commit | 967be82443b5640d61608a89897d8ce2bc44fa54 (patch) | |
| tree | 9905e1156e27aa3d1226da3dde1223a5087b0d55 /tests/forms_tests | |
| parent | 6072de727f0ffa7bf0aa67aadba5d4589561974d (diff) | |
Fixed E305 flake8 warnings.
Diffstat (limited to 'tests/forms_tests')
| -rw-r--r-- | tests/forms_tests/tests/test_formsets.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/forms_tests/tests/test_formsets.py b/tests/forms_tests/tests/test_formsets.py index 724c16c4fa..8e04ce76cd 100644 --- a/tests/forms_tests/tests/test_formsets.py +++ b/tests/forms_tests/tests/test_formsets.py @@ -53,6 +53,7 @@ FavoriteDrinksFormSet = formset_factory(FavoriteDrinkForm, formset=BaseFavoriteD class SplitDateTimeForm(Form): when = SplitDateTimeField(initial=datetime.datetime.now) + SplitDateTimeFormSet = formset_factory(SplitDateTimeForm) @@ -1281,6 +1282,7 @@ class ArticleForm(Form): title = CharField() pub_date = DateField() + ArticleFormSet = formset_factory(ArticleForm) |
