Skip to content

Commit

Permalink
Fix type of AppConfig.models_module (#1866)
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos authored Dec 10, 2023
1 parent 8230293 commit ff5f754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/apps/config.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AppConfig:
label: str
verbose_name: _StrOrPromise
path: str
models_module: str | None
models_module: types.ModuleType | None
# Default auto_field is a cached_property on the base, but is usually subclassed as a str
# If not subclassing with a str, a type ignore[override] is needed
models: dict[str, type[Model]]
Expand Down

0 comments on commit ff5f754

Please sign in to comment.