mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-16 22:09:27 +08:00
Add status field in equipments for transaction serializer
This commit is contained in:
parent
d9d94c03ef
commit
1757538db1
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class EquipmentInstanceSerializer(serializers.ModelSerializer):
|
|||
|
||||
class Meta:
|
||||
model = EquipmentInstance
|
||||
fields = ['id', 'name']
|
||||
fields = ['id', 'name', 'status']
|
||||
|
||||
|
||||
class TransactionSerializer(serializers.HyperlinkedModelSerializer):
|
||||
|
|
Loading…
Reference in a new issue