Using Django 1.7.2 and djangorestframework==3.0.2
Getting error AttributeError: class Meta has no attribute 'model' for
class NotificationCountSerializer(serializers.Serializer):
------
------
class Meta:
fields = ('drivers_count', 'vehicles_count', 'maps_count')
although same code working for Django==1.8 and djangorestframework==3.2.3
Is this the issue with django or djangorestframework version ?