1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 12:59:36 +02:00

add transportation

This commit is contained in:
Sean Morley 2024-07-28 09:10:59 -04:00
parent 61c3d23efa
commit 6155d531ab
5 changed files with 267 additions and 28 deletions

View file

@ -30,7 +30,7 @@ class TransportationSerializer(serializers.ModelSerializer):
fields = [
'id', 'user_id', 'type', 'name', 'description', 'rating',
'link', 'date', 'flight_number', 'from_location', 'to_location',
'is_public', 'collection', 'collection_id', 'created_at', 'updated_at'
'is_public', 'collection', 'created_at', 'updated_at'
]
read_only_fields = ['id', 'created_at', 'updated_at']