Re: { "non_field_errors": [ "No data provided" ] } error during a post method.

2020-03-12 Thread Naveen Arora
Hi try debugging it by printing data, where this error is occuring and then you will be able to correct it. Cheers On Saturday, 11 May 2019 18:05:24 UTC+5:30, Arun Kumar Singamasetty wrote: > > > ##from file serilaizers.py### > > > from rest_framework import serializers > from

Re: { "non_field_errors": [ "No data provided" ] } error during a post method.

2020-03-11 Thread Julio Evandro
Conseguiu resolver? Em sábado, 11 de maio de 2019 09:35:24 UTC-3, Arun Kumar Singamasetty escreveu: > > > ##from file serilaizers.py### > > > from rest_framework import serializers > from .models import Article > > # class ArticleSerializer(serializers.Serializer): > # title

{ "non_field_errors": [ "No data provided" ] } error during a post method.

2019-05-11 Thread Arun Kumar Singamasetty
##from file serilaizers.py### from rest_framework import serializers from .models import Article # class ArticleSerializer(serializers.Serializer): # title = serializers.CharField(max_length=120) # description = serializers.CharField() # body =