Commit e7b91e39 by chrisndodge

Merge pull request #46 from edx/cdodge/add-uniqueness-constraint

Cdodge/add uniqueness constraint
parents 1829df16 152aec62
......@@ -229,6 +229,7 @@ class ProctoredExamStudentAttempt(TimeStampedModel):
""" Meta class for this Django model """
db_table = 'proctoring_proctoredexamstudentattempt'
verbose_name = 'proctored exam attempt'
unique_together = (('user', 'proctored_exam'),)
@property
def is_active(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment