EN VI
Posts (0)
Questions (3)
2024-03-13 13:00:05
The problem is you are overriding Generic ViewSet and APIView together. class SnippetViewSet(viewsets.GenericViewSet, generics.ListCreateAPIView, generics.RetrieveDestroyAPIView): queryse...
2024-03-14 04:30:06
You can not access session variables, or at least not directly, you will need an API to retrieve these. session variables are stored at the server-side, and normally used for sensitive data you don't...
2024-03-15 15:30:06
To allow a null value on the foo field in the FooChild serializer while keeping the field as required in the model, you can modify your code as follows: In FooChildSerializer, remove the foo field de...
Tags: python json django

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login