mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 12:59:36 +02:00
add transportation
This commit is contained in:
parent
61c3d23efa
commit
6155d531ab
5 changed files with 267 additions and 28 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue