mirror of
https://github.com/django/django.git
synced 2024-12-28 12:06:22 +00:00
[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(
|
context = dict(
|
||||||
# Include common variables for rendering the admin template.
|
# 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...
|
# Anything else you want in the context...
|
||||||
key=value,
|
key=value,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user