mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-14 15:57:08 +08:00
The `extra_context` argument to `ModelAdmin.changeform_view`, `add_view`, `change_view`, `changelist_view`, `delete_view`, and `history_view` is used to pass extra context variables to a template, so all of these arguments should have type `Optional[Dict[str, Any]]`. Instead, these are currently typed as `Optional[Dict[str, bool]]`, `Optional[Dict[str, str]]`, or `None`.