예제 #1
0
 def download_csv(self, request, queryset):
     """
     Generates CSV report of selected case studies.
     """
     return generate_csv(model=self.model,
                         queryset=queryset,
                         filename=self.csv_filename,
                         excluded_fields=self.csv_excluded_fields)
예제 #2
0
 def download_csv(self, request, queryset):
     return generate_csv(model=self.model,
                         queryset=queryset,
                         filename=self.csv_filename,
                         excluded_fields=self.csv_excluded_fields)