Django-Rest-Framework 3.0 Field name '<field>' is not valid for model `ModelBase`

class CallTraceAttemptsSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = CallTraceAttempts
        fields = '__all__'

Change the fields Value to 'all', it takes all fields value


The issue happens under urls.py's 'fields'. Make sure that the fields in your serializer match exactly (case sensitive) to the field in your models.py.

### urls.py    
#...
# Serializers define the API representation
class CallTraceAttemptsSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = CallTraceAttempts
        fields = ('calltraceattemptid', 'datecreated')   ### Issue was right here, earlier version had 'Datecreated'