mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-11-05 03:52:49 +08:00
Fix related fields inheritance from abstract models (#138)
This commit is contained in:
1 parent
09767210ec
commit
d7e8222163
3 files changed
+43
-11
No files matched your search
@@ -24,7 +24,7 @@ class Apps:
|
||||
def get_app_configs(self) -> Iterable[AppConfig]: ...
|
||||
def get_app_config(self, app_label: str) -> AppConfig: ...
|
||||
# it's not possible to support it in plugin properly now
|
||||
def get_models(self, include_auto_created: bool = ..., include_swapped: bool = ...) -> List[Type[Any]]: ...
|
||||
def get_models(self, include_auto_created: bool = ..., include_swapped: bool = ...) -> List[Type[Model]]: ...
|
||||
def get_model(self, app_label: str, model_name: Optional[str] = ..., require_ready: bool = ...) -> Type[Any]: ...
|
||||
def register_model(self, app_label: str, model: Type[Model]) -> None: ...
|
||||
def is_installed(self, app_name: str) -> bool: ...
|
||||
|
||||
Reference in new issue
Block a user