Exclude MPTT fields from Part model resource

This commit is contained in:
Oliver Walters 2020-08-21 20:08:16 +10:00
parent 852a680c09
commit 25cced3b90

View File

@ -51,7 +51,8 @@ class PartResource(ModelResource):
report_skipped = False report_skipped = False
clean_model_instances = True clean_model_instances = True
exclude = [ exclude = [
'bom_checksum', 'bom_checked_by', 'bom_checked_date' 'bom_checksum', 'bom_checked_by', 'bom_checked_date',
'lft', 'rght', 'tree_id', 'level',
] ]
def get_queryset(self): def get_queryset(self):