I am aware of https://github.com/chibisov/drf-extensions but the build is failing.
How should responses be cached for generic views? For example:
class PropertyList(generics.ListAPIView):
queryset = Property.objects.all().prefetch_related("photos")
serializer_class = PropertyListSerializer
filter_backends = (filters.DjangoFilterBackend,)
filter_fields = ('featured', 'state', 'price_cents','location', 'status')
ordering_fields = ('expiration_date',)
Is implementing the list method from the ListModelMixin the only option?