feat: export (WIP)

This commit is contained in:
Herculino Trotta
2025-02-19 13:38:00 -03:00
parent 069f1b450c
commit 201ccea842
15 changed files with 538 additions and 51 deletions

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