Eduard Gamonal

Results 3 comments of Eduard Gamonal

mincn, can you elaborate more about that solution? I'm having the same problem with version 0.6.1. I have a polymorphic class called `Action`, which has a foreign key to `Campaign`....

hi, is there any update here? ModelViewSet is something widely used

In the meantime I extended the class in my `filters.py`module ``` from rest_framework_gis.filters import DistanceToPointFilter class DistanceToPointFilterDistinct(DistanceToPointFilter): def filter_queryset(self, request, queryset, view): return super(DistanceToPointFilterDistinct, self).filter_queryset(request, queryset, view).distinct() ```