class QuerySerializer(Serializer):
field1 = serializers.IntergerField()
...
params = QuerySerializer(request.query_params)
params.is_valid(raise_exception=True)
--
You received this message because you are subscribed to a topic in the Google Groups "Django REST framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-rest-framework/IPfh25aZLIw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-rest-fram...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.