Fixed typo in docs/ref/contrib/admin/index.txt
This commit is contained in:
parent
5564d0f2ee
commit
d5d92260bb
|
@ -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…
Reference in New Issue