From b4caa91c8bedf3c236a143dc955f8ecae0439a88 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 13 Feb 2015 10:39:22 -0500 Subject: [PATCH] Added missing parameter to each_context() in doc example. --- docs/ref/contrib/admin/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 35364b07cf..d638f36859 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1409,7 +1409,7 @@ templates used by the :class:`ModelAdmin` views: # ... context = dict( # Include common variables for rendering the admin template. - self.each_context(), + self.each_context(request), # Anything else you want in the context... key=value, )