Fixed #28239 -- Removed docs for a removed arg of template.Context.

This commit is contained in:
Tim Graham 2017-05-25 13:15:12 -04:00
parent bb0b6e5263
commit 0ea321193a
1 changed files with 2 additions and 8 deletions

View File

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