mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-17 01:07:12 +08:00
forms/__init__ reimports
This commit is contained in:
@@ -6,6 +6,18 @@ from .models import (
|
|||||||
ModelForm as ModelForm,
|
ModelForm as ModelForm,
|
||||||
ModelChoiceField as ModelChoiceField,
|
ModelChoiceField as ModelChoiceField,
|
||||||
ModelMultipleChoiceField as ModelMultipleChoiceField,
|
ModelMultipleChoiceField as ModelMultipleChoiceField,
|
||||||
|
model_to_dict as model_to_dict,
|
||||||
|
BaseModelForm as BaseModelForm,
|
||||||
|
BaseInlineFormSet as BaseInlineFormSet,
|
||||||
|
BaseModelFormSet as BaseModelFormSet,
|
||||||
|
fields_for_model as fields_for_model,
|
||||||
|
inlineformset_factory as inlineformset_factory,
|
||||||
|
modelform_factory as modelform_factory,
|
||||||
|
InlineForeignKeyField as InlineForeignKeyField,
|
||||||
|
ModelChoiceIterator as ModelChoiceIterator,
|
||||||
|
ModelFormMetaclass as ModelFormMetaclass,
|
||||||
|
ModelFormOptions as ModelFormOptions,
|
||||||
|
modelformset_factory as modelformset_factory,
|
||||||
)
|
)
|
||||||
|
|
||||||
from .widgets import (
|
from .widgets import (
|
||||||
@@ -68,3 +80,5 @@ from .fields import (
|
|||||||
TypedChoiceField as TypedChoiceField,
|
TypedChoiceField as TypedChoiceField,
|
||||||
TypedMultipleChoiceField as TypedMultipleChoiceField,
|
TypedMultipleChoiceField as TypedMultipleChoiceField,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from .boundfield import BoundField as BoundField, BoundWidget as BoundWidget
|
||||||
|
|||||||
Reference in New Issue
Block a user