Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-proctoring
Commits
cdc4d215
Commit
cdc4d215
authored
Jun 25, 2015
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add verbose names to fix migration permission name length error
parent
d15f1087
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
edx_proctoring/models.py
+3
-0
No files found.
edx_proctoring/models.py
View file @
cdc4d215
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment