Merge pull request #4942 from bhushan-mohanraj/patch-2
Clarify the docstring for `View.as_view`.
This commit is contained in:
commit
8bfc0581e7
1 changed files with 2 additions and 2 deletions
|
|
@ -92,8 +92,8 @@ class View:
|
||||||
:attr:`init_every_request` to ``False``, the same instance will
|
:attr:`init_every_request` to ``False``, the same instance will
|
||||||
be used for every request.
|
be used for every request.
|
||||||
|
|
||||||
The arguments passed to this method are forwarded to the view
|
Except for ``name``, all other arguments passed to this method
|
||||||
class ``__init__`` method.
|
are forwarded to the view class ``__init__`` method.
|
||||||
|
|
||||||
.. versionchanged:: 2.2
|
.. versionchanged:: 2.2
|
||||||
Added the ``init_every_request`` class attribute.
|
Added the ``init_every_request`` class attribute.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue