Loading docs/ref/contrib/admin/index.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1419,7 +1419,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, ) Loading Loading
docs/ref/contrib/admin/index.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1419,7 +1419,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, ) Loading