2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 02:25:38 +00:00

Update 'required' status for new serializers

(cherry picked from commit 2306e29743eb25266c78bec5357d1194e0778c58)
This commit is contained in:
Oliver Walters
2020-05-26 20:26:37 +10:00
parent 81e38eeb14
commit e128410d54
3 changed files with 11 additions and 5 deletions

View File

@ -47,7 +47,7 @@ class PartAttachmentSerializer(InvenTreeModelSerializer):
Serializer for the PartAttachment class
"""
attachment = InvenTreeAttachmentSerializerField()
attachment = InvenTreeAttachmentSerializerField(required=True)
class Meta:
model = PartAttachment