clarify `View.as_view` docstring

This commit is contained in:
Bhushan Mohanraj 2023-01-06 22:14:03 -05:00 committed by David Lord
parent 4a0f658897
commit a748770199
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ class View:
:attr:`init_every_request` to ``False``, the same instance will
be used for every request.
The arguments passed to this method are forwarded to the view
class ``__init__`` method.
Except for ``name``, all other arguments passed to this method
are forwarded to the view class ``__init__`` method.
.. versionchanged:: 2.2
Added the ``init_every_request`` class attribute.