mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-13 16:39:02 +08:00
enable test folders: select_for_update, i18n, httpwrappers, auth_tests, extra_regress (#107)
This commit is contained in:
1 parent
b397ec04a9
commit
335c5765c3
14 files changed
+150
-26
No files matched your search
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Dict, Iterator, List, Mapping, Optional, Sequence, Type, Union
|
||||
from typing import Any, Dict, Iterator, List, Mapping, Optional, Sequence, Type, Union, Tuple
|
||||
|
||||
from django.core.exceptions import ValidationError as ValidationError
|
||||
from django.forms.boundfield import BoundField
|
||||
@@ -12,6 +12,8 @@ class DeclarativeFieldsMetaclass(MediaDefiningClass):
|
||||
def __new__(mcs, name: str, bases: Sequence[Type[BaseForm]], attrs: Dict[str, Any]) -> Type[BaseForm]: ...
|
||||
|
||||
class BaseForm:
|
||||
class Meta:
|
||||
fields: Sequence[str] = ...
|
||||
default_renderer: Any = ...
|
||||
field_order: Any = ...
|
||||
use_required_attribute: bool = ...
|
||||
|
||||
Reference in new issue
Block a user