mirror of https://github.com/django/django.git
Fixed typo in commit for #15730; thanks Bruno Renié for the catch.
This commit is contained in:
parent
67dceeef44
commit
72ca530af5
|
@ -59,7 +59,7 @@ View
|
||||||
|
|
||||||
Returns a callable view that takes a request and returns a response::
|
Returns a callable view that takes a request and returns a response::
|
||||||
|
|
||||||
response = MyView.as_view(request)
|
response = MyView.as_view()(request)
|
||||||
|
|
||||||
.. method:: dispatch(request, *args, **kwargs)
|
.. method:: dispatch(request, *args, **kwargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue