diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-13 10:39:22 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-13 10:39:22 -0500 |
| commit | b4caa91c8bedf3c236a143dc955f8ecae0439a88 (patch) | |
| tree | 0af8e67f5014580c47424ec5d81a258af8d59924 /docs/ref | |
| parent | 648e516b8d5694c01a225fe27429f0bf7776fb43 (diff) | |
Added missing parameter to each_context() in doc example.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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, ) |
