oasis-art-project / oasis-server

Platform for the local arts
Other
2 stars 0 forks source link

Artwork model should include event backref #78

Closed codeanticode closed 3 years ago

codeanticode commented 3 years ago

Artworks can be associated to specific events, so something like the following should be added to artworkModel:

event = db.relationship('Event', backref=db.backref('artworks'))
codeanticode commented 3 years ago

Implemented