diff --git a/bikeshop_project/bike/serializers.py b/bikeshop_project/bike/serializers.py index aea242f..7bba83f 100644 --- a/bikeshop_project/bike/serializers.py +++ b/bikeshop_project/bike/serializers.py @@ -8,6 +8,7 @@ class BikeSerializer(serializers.HyperlinkedModelSerializer): model = Bike fields = '__all__' + id = serializers.ReadOnlyField() created_at = serializers.ReadOnlyField() state = serializers.ReadOnlyField() available_states = serializers.ReadOnlyField()