From d5d92260bbc5b00abc9d59a1987efb6a322bd3cd Mon Sep 17 00:00:00 2001 From: andredelorme Date: Thu, 9 Apr 2015 12:27:09 -0300 Subject: Fixed typo in docs/ref/contrib/admin/index.txt --- docs/ref/contrib/admin/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 4b11fed58a..416a70e2f8 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -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, ) -- cgit v1.3