When i am trying to POST using the browsable API of DRF, i get the following error:
Got a TypeError when calling Note.objects.creat
TypeError
Note.objects.creat
I think this is because you are providing keyword argument data to save method. This is unnecessary. save() dont have such argument. Try just this:
data
save()
def perform_create(self, serializer): serializer.save()