Skip to content

Commit

Permalink
Task 07
Browse files Browse the repository at this point in the history
  • Loading branch information
OluwaninsolaAO committed Apr 23, 2023
1 parent 70e71eb commit fa4465a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/place.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Place(BaseModel, Base):
reviews = relationship('Review', cascade='all, delete',
backref='place')
amenities = relationship('Amenity', secondary=place_amenity,
viewonly=False)
backref='place_amenities', viewonly=False)

else:
city_id = ""
Expand Down

0 comments on commit fa4465a

Please sign in to comment.