Добавлена выдача по точкам на карте(добавлен кэш)

main
through-your-tears 9 months ago
parent 73b9c41be8
commit 5046692f01

@ -63,6 +63,7 @@ class OrganizationSearchListAPIView(ListAPIView):
class OrganizationMapFilterAPIView(ListAPIView): class OrganizationMapFilterAPIView(ListAPIView):
serializer_class = OrganizationListSerializer serializer_class = OrganizationListSerializer
pagination_class = None
@method_decorator(vary_on_cookie) @method_decorator(vary_on_cookie)
@method_decorator(cache_page(settings.CACHE_TTL)) @method_decorator(cache_page(settings.CACHE_TTL))

Loading…
Cancel
Save