This example shows how you can use Django REST framework's enhanced `request` in your own views, without having to use the full-blown :class:`views.View` class.
This example shows how you can use Django REST framework's enhanced `request` - :class:`request.Request` - in your own views, without having to use the full-blown :class:`views.View` class.
What can it do for you ? Mostly, it will take care of parsing the request's content, and handling equally all HTTP methods ...
What can it do for you ? Mostly, it will take care of parsing the request's content, and handling equally all HTTP methods ...
...
@@ -64,13 +64,12 @@ Now that you're convinced you need to use the enhanced request object, here is h
...
@@ -64,13 +64,12 @@ Now that you're convinced you need to use the enhanced request object, here is h
Base view enabling the usage of enhanced requests with user defined views.
Base view enabling the usage of enhanced requests with user defined views.