figures/views.py
def list(self, request):
        """
        Returns site metrics data for current month
        """

        site = django.contrib.sites.shortcuts.get_current_site(request)
        data = metrics.get_current_month_site_metrics(site)
        return Response(data)

        Returns site metrics data for current month
        
Returns site metrics data for current month
Returns site metrics data for current month
def list(self, request):
        site = django.contrib.sites.shortcuts.get_current_site(request)
        data = metrics.get_current_month_site_metrics(site)
        return Response(data)
def list ( self , request ) : site = django . contrib . sites . shortcuts . get_current_site ( request ) data = metrics . get_current_month_site_metrics ( site ) return Response ( data )
Returns site metrics data for current month
Returns site metrics data for current month
"""
        Returns site metrics data for current month
        """
self
request