Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in django-rest-framework

How to prefetch for individual object? (AttributeError: object has no attribute 'select_related')

Django Rest Framework: get_FOO_display in serializer not letting me POST

bulk_create using ListCreateAPIView and ListSerializer

"Got KeyError when attempting to get a value for field `username` on serializer `UserCreateSerializer`

using @cache_response() decorator from drf extensions while using @api_view function view

How to use custom serializers fields in my HyeprlinkedModelSerializer

Django-Rest - How to create URL & View to extract "GET" query parameters in different formats?

ContentNotRenderedError: The response content must be rendered before it can be iterated over. Django REST

How to prevent Django Rest Framework from validating the token if 'AllowAny' permission class is used?

How to retrieve all items created by a user using the django rest framework

DRF serialize ArrayField as string

DRF ModelViewSet is possible to create custom @action with same url and different methods

DRF create object with nested serializers and foreign keys

Is it a good practice to override list() in Django Rest Framework?

django-rest-framework

Django DRF, how to properly register custom URL patterns with DRF actions

Should I write two different serializers for requests POST and GET?

Django Rest Framework: Adding a custom field to a paginated ViewSet

how to exclude fields that are in one depth level with DRF?