mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #24055 -- Keep reference to view class for resolve()
This commit is contained in:
parent
67235fd4ef
commit
a420f83e7d
9 changed files with 42 additions and 2 deletions
|
@ -65,6 +65,11 @@ View
|
|||
|
||||
response = MyView.as_view()(request)
|
||||
|
||||
.. versionadded:: 1.9
|
||||
|
||||
The returned view has ``view_class`` and ``view_initkwargs``
|
||||
attributes.
|
||||
|
||||
.. method:: dispatch(request, *args, **kwargs)
|
||||
|
||||
The ``view`` part of the view -- the method that accepts a ``request``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue