figures/views.py
def list(self, request):
        """
        We use list instead of retrieve because retrieve requires a resource
        identifier, like a PK
        """
        site = django.contrib.sites.shortcuts.get_current_site(request)
        data = retrieve_live_site_mau_data(site)
        serializer = self.serializer_class(data)
        return Response(serializer.data)

        We use list instead of retrieve because retrieve requires a resource
        identifier, like a PK
        
We use list instead of retrieve because retrieve requires a resource
identifier, like a PK
We use list instead of retrieve because retrieve requires a resource identifier like a PK
def list(self, request):
        site = django.contrib.sites.shortcuts.get_current_site(request)
        data = retrieve_live_site_mau_data(site)
        serializer = self.serializer_class(data)
        return Response(serializer.data)
def list ( self , request ) : site = django . contrib . sites . shortcuts . get_current_site ( request ) data = retrieve_live_site_mau_data ( site ) serializer = self . serializer_class ( data ) return Response ( serializer . data )
We use list instead of retrieve because retrieve requires a resource
identifier, like a PK
We use list instead of retrieve because retrieve requires a resource identifier like a PK
"""
        We use list instead of retrieve because retrieve requires a resource
        identifier, like a PK
        """
self
request