2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

Cleanup old forms

This commit is contained in:
Oliver
2021-07-01 14:25:14 +10:00
parent 54731746d8
commit 59b794f0e5
3 changed files with 4 additions and 54 deletions

View File

@ -15,7 +15,7 @@ from django.utils.translation import ugettext_lazy as _
import common.models
from .models import Part, PartCategory, PartAttachment, PartRelated
from .models import Part, PartCategory, PartRelated
from .models import BomItem
from .models import PartParameterTemplate, PartParameter
from .models import PartCategoryParameterTemplate
@ -185,18 +185,6 @@ class CreatePartRelatedForm(HelperForm):
}
class EditPartAttachmentForm(HelperForm):
""" Form for editing a PartAttachment object """
class Meta:
model = PartAttachment
fields = [
'part',
'attachment',
'comment'
]
class SetPartCategoryForm(forms.Form):
""" Form for setting the category of multiple Part objects """