Closed codeanticode closed 2 years ago
Do you think the following additions work?
# artworkModel.py
min_age = db.Column(db.Integer, nullable=True)
age_restricted = db.Column(db.Boolean, nullable=False)
# userModel.py
dob = db.Column(db.Date, nullable=True)
not a priority right now
Some artworks might be considered "age-restricted" so having a verified dob field in the user field could help dealing with this situation. Artworks tagged as "age-restricted" with a minimum age for viewing would be visible only to logged in visitors that have an age above the min age.