query dict immuteable

Solutions on MaxInterview for query dict immuteable by the best coders in the world

showing results for - "query dict immuteable"
Beatrice
26 Jun 2016
1class Login(generics.CreateAPIView):
2    serializer_class = MySerializerClass
3    def create(self, request, *args, **kwargs):
4        request.data._mutable = True
5        request.data['username'] = "example@mail.com"
6        request.data._mutable = False
similar questions
queries leading to this page
query dict immuteable