code: def process(self, request, queryset, period):
          
  
          response = HttpResponse(content=self.get_attachment_content(request, queryset) or '',
                                  content_type=self.get_attachment_content_type(request) or 'text/plain')
          response['Content-Disposition'] = 'attachment; filename=' + (self.get_attachment_filename(request, period) or
                                                                       'report.txt')
          return response
docs: Will process the request and return an appropriate Response object.
          :param request: The request being processed.
          :param model: The model class being processed.
          :param period: The model being processed.
          :return: The response with the report.