Skip to content

Commit

Permalink
fix: Add enable_nav_sidebar to AdminSite (#140)
Browse files Browse the repository at this point in the history
This PR adds missing variable to AdminSite
  • Loading branch information
last-partizan authored Oct 8, 2022
1 parent 2db4c3c commit 842bcd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django-stubs/contrib/admin/sites.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class AdminSite:
password_change_template: Any = ...
password_change_done_template: Any = ...
name: str = ...
enable_nav_sidebar: bool = ...
_registry: Dict[Type[Model], ModelAdmin[Any]]
def __init__(self, name: str = ...) -> None: ...
def check(self, app_configs: Optional[Iterable[AppConfig]]) -> List[Any]: ...
Expand Down

0 comments on commit 842bcd6

Please sign in to comment.