Commit cdc4d215 by Chris Dodge

add verbose names to fix migration permission name length error

parent d15f1087
...@@ -87,6 +87,7 @@ class ProctoredExamStudentAttempt(TimeStampedModel): ...@@ -87,6 +87,7 @@ class ProctoredExamStudentAttempt(TimeStampedModel):
class Meta: class Meta:
""" Meta class for this Django model """ """ Meta class for this Django model """
db_table = 'proctoring_proctoredexamstudentattempt' db_table = 'proctoring_proctoredexamstudentattempt'
verbose_name = 'proctored exam attempt'
@property @property
def is_active(self): def is_active(self):
...@@ -160,6 +161,7 @@ class ProctoredExamStudentAllowance(TimeStampedModel): ...@@ -160,6 +161,7 @@ class ProctoredExamStudentAllowance(TimeStampedModel):
""" Meta class for this Django model """ """ Meta class for this Django model """
unique_together = (('user_id', 'proctored_exam', 'key'),) unique_together = (('user_id', 'proctored_exam', 'key'),)
db_table = 'proctoring_proctoredexamstudentallowance' db_table = 'proctoring_proctoredexamstudentallowance'
verbose_name = 'proctored allowance'
@classmethod @classmethod
def get_allowance_for_user(cls, exam_id, user_id, key): def get_allowance_for_user(cls, exam_id, user_id, key):
...@@ -205,6 +207,7 @@ class ProctoredExamStudentAllowanceHistory(TimeStampedModel): ...@@ -205,6 +207,7 @@ class ProctoredExamStudentAllowanceHistory(TimeStampedModel):
class Meta: class Meta:
""" Meta class for this Django model """ """ Meta class for this Django model """
db_table = 'proctoring_proctoredexamstudentallowancehistory' db_table = 'proctoring_proctoredexamstudentallowancehistory'
verbose_name = 'proctored allowance history'
# Hook up the post_save signal to record creations in the ProctoredExamStudentAllowanceHistory table. # Hook up the post_save signal to record creations in the ProctoredExamStudentAllowanceHistory table.
......
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