From 3844ccc958f59aef731dbb054a51fa37aa1d16ec Mon Sep 17 00:00:00 2001 From: Josh Schneier Date: Mon, 12 Jan 2015 16:52:37 -0500 Subject: [PATCH] Fixed #24138 -- Added modelform_factory to __all__. --- django/forms/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/forms/models.py b/django/forms/models.py index 443d0559a6..34ff3c478c 100644 --- a/django/forms/models.py +++ b/django/forms/models.py @@ -28,7 +28,7 @@ __all__ = ( 'ModelForm', 'BaseModelForm', 'model_to_dict', 'fields_for_model', 'save_instance', 'ModelChoiceField', 'ModelMultipleChoiceField', 'ALL_FIELDS', 'BaseModelFormSet', 'modelformset_factory', - 'BaseInlineFormSet', 'inlineformset_factory', + 'BaseInlineFormSet', 'inlineformset_factory', 'modelform_factory', ) ALL_FIELDS = '__all__'