mirror of
https://github.com/django/django.git
synced 2025-06-03 02:29:13 +00:00
Added missing parameter to each_context() in doc example.
This commit is contained in:
parent
648e516b8d
commit
b4caa91c8b
@ -1409,7 +1409,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(),
|
self.each_context(request),
|
||||||
# Anything else you want in the context...
|
# Anything else you want in the context...
|
||||||
key=value,
|
key=value,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user