Transportation changes
This commit is contained in:
@@ -51,7 +51,7 @@ class TransportationSerializer(serializers.ModelSerializer):
|
||||
fields = [
|
||||
'id', 'user_id', 'type', 'name', 'description', 'rating',
|
||||
'link', 'date', 'flight_number', 'from_location', 'to_location',
|
||||
'is_public', 'collection', 'created_at', 'updated_at'
|
||||
'is_public', 'collection', 'created_at', 'updated_at', 'end_date'
|
||||
]
|
||||
read_only_fields = ['id', 'created_at', 'updated_at', 'user_id']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user