mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-16 22:09:27 +08:00
Add remarks to transaction serializer
This commit is contained in:
parent
02df5b5ea9
commit
94ba018c9e
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class TransactionSerializer(serializers.HyperlinkedModelSerializer):
|
|||
class Meta:
|
||||
model = Transaction
|
||||
fields = ['id', 'borrower', 'teacher',
|
||||
'equipments', 'transaction_status', 'timestamp']
|
||||
'equipments', 'remarks', 'transaction_status', 'timestamp']
|
||||
read_only_fields = ['id', 'timestamp']
|
||||
|
||||
def to_representation(self, instance):
|
||||
|
|
Loading…
Reference in a new issue