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

Backport of 0ea321193a1d7f857544760e12058303edd51362 from master
This commit is contained in:
Tim Graham 2017-05-25 13:15:12 -04:00
parent d4112525e4
commit dc4160ecc0

View File

@ -206,14 +206,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.