We are using a custom AdminSite, where the each_context() is overridden to add some additional context variables. Our base_site.html template then uses these variables. This causes an error when rendering the mass change view, because it doesn't include the context variables from the each_context() function.
We are using a custom AdminSite, where the
each_context()
is overridden to add some additional context variables. Ourbase_site.html
template then uses these variables. This causes an error when rendering the mass change view, because it doesn't include the context variables from theeach_context()
function.Here's an example showing how Django's default admin views use
each_context()
: https://github.com/django/django/blob/2.2.11/django/contrib/admin/options.py#L1616I will post a PR with a fix for this soon.