The following lines need to be modified so that they filter out reviews where removed = True
Here is an example of where this filter is applied:
Review.query.filter_by(id=review_id, removed=False).first():
Report buttons should also be added to every review displayed, below is an example of the report button
<a href="{{ url_for('report',review_id=review.id) }}">Report</a>
The following lines need to be modified so that they filter out reviews where removed = True
Here is an example of where this filter is applied:
Review.query.filter_by(id=review_id, removed=False).first():
Report buttons should also be added to every review displayed, below is an example of the report button
<a href="{{ url_for('report',review_id=review.id) }}">Report</a>