WhoIsView
Overview
Concrete view for retrieving a model instance.
dispatch
Dispatch the incoming request to the appropriate handler method.
This method implements the core request/response lifecycle for Django REST Framework views:
- Wraps the incoming Django HttpRequest in a REST framework Request.
- Performs content negotiation, authentication, permission, and throttling checks.
- Resolves and calls the appropriate HTTP method handler (e.g. get(), post(), put()).
- Handles any exceptions raised during processing and converts them into appropriate Response objects.
- Finalizes and returns the response with proper rendering and headers applied.
Signature
dispatch(self, request, args, kwargs)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| request | yes | ||
| args | yes | ||
| kwargs | yes |
Source
.venv/lib/python3.11/site-packages/rest_framework/views.py:490
get_object
Returns the object the view is displaying.
You may want to override this if you need to provide non-standard queryset lookups. Eg if objects are referenced using multiple keyword arguments in the url conf.
Signature
get_object(self)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source
server/vueda/user/views.py:108
options
Handler method for HTTP 'OPTIONS' request.
Signature
options(self, request, args, kwargs)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| request | yes | ||
| args | yes | ||
| kwargs | yes |
Source
.venv/lib/python3.11/site-packages/rest_framework/views.py:531
retrieve
Signature
retrieve(self, request, args, kwargs)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| request | yes | ||
| args | yes | ||
| kwargs | yes |
Source
server/vueda/user/views.py:102
permission_classes
schema
serializer_class
Source
server/vueda/user/views.py:92