mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
a83c3289b7
commit
8edc0cc893
@ -16,7 +16,7 @@ import part.models
|
|||||||
class BuildResource(ModelResource):
|
class BuildResource(ModelResource):
|
||||||
"""Class for managing import/export of Build data"""
|
"""Class for managing import/export of Build data"""
|
||||||
# For some reason, we need to specify the fields individually for this ModelResource,
|
# For some reason, we need to specify the fields individually for this ModelResource,
|
||||||
# but we don't for other ones.
|
# but we don't for other ones.
|
||||||
# TODO: 2022-05-12 - Need to investigate why this is the case!
|
# TODO: 2022-05-12 - Need to investigate why this is the case!
|
||||||
|
|
||||||
pk = Field(attribute='pk')
|
pk = Field(attribute='pk')
|
||||||
@ -51,7 +51,6 @@ class BuildResource(ModelResource):
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class BuildAdmin(ImportExportModelAdmin):
|
class BuildAdmin(ImportExportModelAdmin):
|
||||||
|
|
||||||
exclude = [
|
exclude = [
|
||||||
|
Loading…
Reference in New Issue
Block a user