Files
django-stubs/django-stubs
rolandcrosby-check 1da693ebff Fix extra_context argument type in admin views (#816)
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`.
2022-01-13 23:03:03 +03:00
..
2021-07-04 16:16:43 +03:00
2021-07-04 16:16:43 +03:00
2021-12-16 21:51:46 +03:00
2021-07-04 16:16:43 +03:00
2021-07-04 16:16:43 +03:00
2021-07-04 16:16:43 +03:00
2021-07-04 16:16:43 +03:00
2021-07-04 16:16:43 +03:00
2021-07-04 16:16:43 +03:00