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
8ac77ad7
Commit
8ac77ad7
authored
Oct 07, 2015
by
Afzal Wali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated a comment.
parent
c426c114
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
edx_proctoring/models.py
+3
-2
No files found.
edx_proctoring/models.py
View file @
8ac77ad7
...
@@ -584,8 +584,9 @@ def on_attempt_deleted(sender, instance, **kwargs): # pylint: disable=unused-ar
...
@@ -584,8 +584,9 @@ def on_attempt_deleted(sender, instance, **kwargs): # pylint: disable=unused-ar
@receiver
(
pre_save
,
sender
=
ProctoredExamStudentAttempt
)
@receiver
(
pre_save
,
sender
=
ProctoredExamStudentAttempt
)
def
on_attempt_updated
(
sender
,
instance
,
**
kwargs
):
# pylint: disable=unused-argument
def
on_attempt_updated
(
sender
,
instance
,
**
kwargs
):
# pylint: disable=unused-argument
"""
"""
Archive the exam attempt when the item is about to be deleted
Archive the exam attempt whenever the attempt status is about to be
Make a clone and populate in the History table
modified. Make a new entry with the previous value of the status in the
ProctoredExamStudentAttemptHistory table.
"""
"""
if
instance
.
id
:
if
instance
.
id
:
...
...
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