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
edx
edx-proctoring
Commits
cb2a6171
Commit
cb2a6171
authored
Sep 08, 2015
by
Muhammad Shoaib
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #136 from edx/muhhshoaib/SOL-1171-return-display-string-from-backbone-view
SOL-1171
parents
3724d1e1
dc57ed6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
edx_proctoring/views.py
+2
-0
No files found.
edx_proctoring/views.py
View file @
cb2a6171
...
...
@@ -6,6 +6,7 @@ import logging
import
pytz
from
datetime
import
datetime
from
django.utils.translation
import
ugettext
as
_
from
django.utils.decorators
import
method_decorator
from
django.conf
import
settings
from
django.core.urlresolvers
import
reverse
,
NoReverseMatch
...
...
@@ -481,6 +482,7 @@ class StudentProctoredExamAttemptCollection(AuthenticatedAPIView):
response_dict
=
{
'in_timed_exam'
:
True
,
'taking_as_proctored'
:
attempt
[
'taking_as_proctored'
],
'exam_type'
:
_
(
'proctored'
)
if
attempt
[
'taking_as_proctored'
]
else
_
(
'timed'
),
'exam_display_name'
:
exam
[
'exam_name'
],
'exam_url_path'
:
exam_url_path
,
'time_remaining_seconds'
:
time_remaining_seconds
,
...
...
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