1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

Fixed #21489 -- Make formsets directly importable from django.forms.

This commit is contained in:
Loic Bistuer
2013-11-22 17:23:12 +07:00
committed by Tim Graham
parent 7a0a3a64a8
commit 1c7a83ee8e
3 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ from django.utils.six.moves import xrange
from django.utils.translation import ungettext, ugettext as _
__all__ = ('BaseFormSet', 'all_valid')
__all__ = ('BaseFormSet', 'formset_factory', 'all_valid')
# special field names
TOTAL_FORM_COUNT = 'TOTAL_FORMS'