wharton/drf-excel

DateField enabling allow_null and source arguments does't work

darcivieira opened this issue · 0 comments

Hey,

I tried to used something like this:

some_date = serializers.DateField(format="%m-%d-%Y", source="one_step.two_step.my_some_date", allow_null=True")

So, when I tried to export, all that columns come blank. That's why we will have a moment that one item will bring us a NoneType value.