feat: export (WIP)

This commit is contained in:
Herculino Trotta committed 2025-02-19 13:38:00 -03:00
1 parent 069f1b450c
commit 201ccea842
15 files changed
+538 -51

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
from import_export import fields
class EmptyStringToNoneField(fields.Field):
def clean(self, data, **kwargs):
value = super().clean(data)
return None if value == "" else value