1
0
mirror of https://github.com/django/django.git synced 2025-04-05 05:56:42 +00:00

Fixed typo in docs/ref/contrib/admin/index.txt

This commit is contained in:
andredelorme 2015-04-09 12:27:09 -03:00 committed by Tim Graham
parent 5564d0f2ee
commit d5d92260bb

View File

@ -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,
)