[1.8.x] Fixed typo in docs/ref/contrib/admin/index.txt
Backport of d5d92260bb
from master
This commit is contained in:
parent
b1dc128a03
commit
190afb8618
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue