def format_time(self, data):
        if self.datetime_formatting == 'rfc-2822':
            return format_time(data)

        return data.isoformat()
A view function that returns a dynamically generated CSV file, based
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tastypie/serializers.py/Serializer.format_time--crossover with--dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/admin.py/SubjectAdmin.template_view