mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-17 06:19:26 +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:
|
class Meta:
|
||||||
model = EquipmentInstance
|
model = EquipmentInstance
|
||||||
fields = ['id', 'name']
|
fields = ['id', 'name', 'status']
|
||||||
|
|
||||||
|
|
||||||
class TransactionSerializer(serializers.HyperlinkedModelSerializer):
|
class TransactionSerializer(serializers.HyperlinkedModelSerializer):
|
||||||
|
|
Loading…
Reference in a new issue