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
c764e433
Commit
c764e433
authored
Jul 30, 2015
by
Muhammad Shoaib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PHX-71 Passed the practice exam flag to SoftwareSecure API when creating attempt
parent
0302fe99
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
edx_proctoring/api.py
+2
-2
edx_proctoring/models.py
+1
-1
No files found.
edx_proctoring/api.py
View file @
c764e433
...
...
@@ -262,7 +262,7 @@ def create_exam_attempt(exam_id, user_id, taking_as_proctored=False):
context
=
{
'time_limit_mins'
:
allowed_time_limit_mins
,
'attempt_code'
:
attempt_code
,
'is_sample_attempt'
:
False
,
'is_sample_attempt'
:
exam
[
'is_practice_exam'
]
,
'callback_url'
:
callback_url
,
'full_name'
:
full_name
,
}
...
...
@@ -275,7 +275,7 @@ def create_exam_attempt(exam_id, user_id, taking_as_proctored=False):
allowed_time_limit_mins
,
attempt_code
,
taking_as_proctored
,
False
,
exam
[
'is_practice_exam'
]
,
external_id
)
return
attempt
.
id
...
...
edx_proctoring/models.py
View file @
c764e433
...
...
@@ -222,7 +222,7 @@ class ProctoredExamStudentAttempt(TimeStampedModel):
# in case there is an option to opt-out
taking_as_proctored
=
models
.
BooleanField
()
# Whether this att
a
mpt is considered a sample attempt, e.g. to try out
# Whether this att
e
mpt is considered a sample attempt, e.g. to try out
# the proctoring software
is_sample_attempt
=
models
.
BooleanField
()
...
...
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