mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-16 22:09:27 +08:00
Add ID to equipment instance log serializer
This commit is contained in:
parent
8a38392534
commit
ba857dff38
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class EquipmentLogsSerializer(serializers.HyperlinkedModelSerializer):
|
|||
|
||||
class Meta:
|
||||
model = Equipment.history.model
|
||||
fields = ('history_id', 'name', 'description', 'category',
|
||||
fields = ('history_id', 'id', 'name', 'description', 'category',
|
||||
'history_date', 'history_user')
|
||||
read_only_fields = ('history_id', 'id', 'name', 'description',
|
||||
'history_date', 'history_user')
|
||||
|
|
Loading…
Reference in a new issue