def make_csv(self, request, queryset): fields = OrderedDict( [('Unit name', 'name'), ('Unit type', 'unitType'), ]) return importexport.generate_csv(self, request, queryset, fields, 'Unit')
def make_csv(self, request, queryset): return importexport.generate_csv(self, request, queryset, self.exportFields, 'Rack')
def make_csv(self, request, queryset): return importexport.generate_csv(self, request, queryset, self.exportFields, "Location")
def make_csv(self, request, queryset): return importexport.generate_csv(self, request, queryset, self.exportFields, "Container")
def make_csv(self, request, queryset): fields = OrderedDict([("Unit name", "name"), ("Unit type", "unitType")]) return importexport.generate_csv(self, request, queryset, fields, "Unit")