[1.11.x] Fixed #28239 -- Removed docs for a removed arg of template.Context.

Backport of 0ea321193a from master
This commit is contained in:
Tim Graham 2017-05-25 13:15:12 -04:00
parent d6bff52fdf
commit 61f61a2b0c
1 changed files with 2 additions and 8 deletions

View File

@ -210,14 +210,8 @@ different contexts.
.. class:: Context(dict_=None)
This class lives at ``django.template.Context``. The constructor takes
two optional arguments:
* A dictionary mapping variable names to variable values.
* The name of the current application. This application name is used
to help :ref:`resolve namespaced URLs<topics-http-reversing-url-namespaces>`.
If you're not using namespaced URLs, you can ignore this argument.
The constructor of ``django.template.Context`` takes an optional argument —
a dictionary mapping variable names to variable values.
For details, see :ref:`playing-with-context` below.