The django-ORM problem is described as follows:

Medusa.objects.filter(name__in=[1.2.3]).values("name").distinct().order_by("name")
Copy the code

Queryset objects are not very friendly when you serialize queries using the Django-Rest Framework framework, so it is recommended that you do this:

Medusa.objects.filter(name__in=[1.2.3]).distinct()
Copy the code

The serializer can be used to serialize data back.








Keep track of the bugs