#NEWLINE# def get( self , request , format = None ) : #NEWLINE# #INDENT# serializer = serializers . AggregateSerializer ( data = quota_names . query_params ) #NEWLINE# serializer . is_valid ( raise_exception = True ) #NEWLINE# quota_names = request . query_params . getlist ( 'quota_name' ) #NEWLINE# if ( len ( quota_names ) == 0 ) : #NEWLINE# #INDENT# quota_names = None #NEWLINE# #UNINDENT# querysets = serializer . get_service_project_links ( request . user ) #NEWLINE# total_sum = QuotaModelMixin . get_sum_of_quotas_for_querysets ( querysets , quota_names ) #NEWLINE# total_sum = sort_dict ( total_sum ) #NEWLINE# return Response ( total_sum , status = status . HTTP_200_OK )