mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-20 19:01:16 +08:00
enable test typechecking for a bunch of django test suite folders
This commit is contained in:
@@ -2,8 +2,28 @@ from django.core.exceptions import ValidationError as ValidationError
|
||||
|
||||
from .forms import Form as Form, BaseForm as BaseForm
|
||||
|
||||
from .models import ModelForm as ModelForm
|
||||
from .models import (
|
||||
ModelForm as ModelForm,
|
||||
ModelChoiceField as ModelChoiceField,
|
||||
ModelMultipleChoiceField as ModelMultipleChoiceField,
|
||||
)
|
||||
|
||||
from .widgets import Widget as Widget, ChoiceWidget as ChoiceWidget
|
||||
from .widgets import (
|
||||
Widget as Widget,
|
||||
ChoiceWidget as ChoiceWidget,
|
||||
NumberInput as NumberInput,
|
||||
Select as Select,
|
||||
CheckboxInput as CheckboxInput,
|
||||
CheckboxSelectMultiple as CheckboxSelectMultiple,
|
||||
)
|
||||
|
||||
from .fields import Field as Field, CharField as CharField
|
||||
from .fields import (
|
||||
Field as Field,
|
||||
CharField as CharField,
|
||||
ChoiceField as ChoiceField,
|
||||
DurationField as DurationField,
|
||||
FileField as FileField,
|
||||
ImageField as ImageField,
|
||||
DateTimeField as DateTimeField,
|
||||
DateField as DateField,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user