diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index ee47a6cf00..c6b047c8c6 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1443,7 +1443,7 @@ templates used by the :class:`ModelAdmin` views: # ... context = dict( # Include common variables for rendering the admin template. - self.each_context(request), + self.admin_site.each_context(request), # Anything else you want in the context... key=value, )