Django DRF ListField to deserialize list of ids in GET's queryparams
问题 Tried to use DRF's ListField option to de-serialize list of values (applications in the example below) in query params. I'm having trouble making it work. Couldn't find with examples in the web. Hoping someone to throw some help. api : /getAppStats/?applications=one,two,three class MySerializer(serializers.Serializer): applications = serializers.ListField(child=serializers.CharField()) start_date = serializers.DateField(default=(datetime.datetime.utcnow() - datetime.timedelta(days=30)).date()