mirror of https://github.com/django/django.git
Fixed #28239 -- Removed docs for a removed arg of template.Context.
This commit is contained in:
parent
bb0b6e5263
commit
0ea321193a
|
@ -214,14 +214,8 @@ different contexts.
|
||||||
|
|
||||||
.. class:: Context(dict_=None)
|
.. class:: Context(dict_=None)
|
||||||
|
|
||||||
This class lives at ``django.template.Context``. The constructor takes
|
The constructor of ``django.template.Context`` takes an optional argument —
|
||||||
two optional arguments:
|
a dictionary mapping variable names to variable values.
|
||||||
|
|
||||||
* 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.
|
|
||||||
|
|
||||||
For details, see :ref:`playing-with-context` below.
|
For details, see :ref:`playing-with-context` below.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue