mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-19 18:31:15 +08:00
enable some test folders, bunch of fixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Iterator, Type, Optional
|
||||
from typing import Any, Iterator, Type, Optional, Dict
|
||||
|
||||
from django.db.models.base import Model
|
||||
|
||||
@@ -12,7 +12,7 @@ class AppConfig:
|
||||
verbose_name: str = ...
|
||||
path: str = ...
|
||||
models_module: None = ...
|
||||
models: None = ...
|
||||
models: Optional[Dict[str, Type[Model]]] = ...
|
||||
def __init__(self, app_name: str, app_module: Optional[Any]) -> None: ...
|
||||
@classmethod
|
||||
def create(cls, entry: str) -> AppConfig: ...
|
||||
|
||||
Reference in New Issue
Block a user