Skip to content
Snippets Groups Projects
Commit 654c5f61 authored by RABijl's avatar RABijl
Browse files

removes dubplicate mc_options as atribute of problem in database.py

parent 5995faaf
No related branches found
No related tags found
1 merge request!29highlight pregrade
......@@ -99,7 +99,6 @@ class Problem(db.Model):
exam_id = Column(Integer, ForeignKey('exam.id'), nullable=False)
feedback_options = db.relationship('FeedbackOption', backref='problem', order_by='FeedbackOption.id', lazy=True)
solutions = db.relationship('Solution', backref='problem', lazy=True)
mc_options = db.relationship('MultipleChoiceOption', backref='problem', lazy=True)
widget = db.relationship('ProblemWidget', backref='problem', uselist=False, lazy=True)
@hybrid_property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment