diff --git a/bikeshop_project/bike/serializers.py b/bikeshop_project/bike/serializers.py index dc21666..398322f 100644 --- a/bikeshop_project/bike/serializers.py +++ b/bikeshop_project/bike/serializers.py @@ -7,3 +7,6 @@ class BikeSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Bike fields = '__all__' + + created_at = serializers.ReadOnlyField() + state = serializers.ReadOnlyField()