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
bd13e2f8
Commit
bd13e2f8
authored
Feb 01, 2016
by
Douglas Hall
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #267 from edx/hasnain-naveed/PHX-224-migration
PHX-224 / Added Migration for unique Attempt Code
parents
99244d01
5fb241e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
edx_proctoring/migrations/0004_auto_20160201_0523.py
+19
-0
edx_proctoring/models.py
+1
-1
No files found.
edx_proctoring/migrations/0004_auto_20160201_0523.py
0 → 100644
View file @
bd13e2f8
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'edx_proctoring'
,
'0003_auto_20160101_0525'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'proctoredexamsoftwaresecurereview'
,
name
=
'attempt_code'
,
field
=
models
.
CharField
(
unique
=
True
,
max_length
=
255
,
db_index
=
True
),
),
]
edx_proctoring/models.py
View file @
bd13e2f8
...
@@ -857,7 +857,7 @@ class ProctoredExamSoftwareSecureReview(TimeStampedModel):
...
@@ -857,7 +857,7 @@ class ProctoredExamSoftwareSecureReview(TimeStampedModel):
"""
"""
# which student attempt is this feedback for?
# which student attempt is this feedback for?
attempt_code
=
models
.
CharField
(
max_length
=
255
,
db_index
=
True
)
attempt_code
=
models
.
CharField
(
max_length
=
255
,
db_index
=
True
,
unique
=
True
)
# overall status of the review
# overall status of the review
review_status
=
models
.
CharField
(
max_length
=
255
)
review_status
=
models
.
CharField
(
max_length
=
255
)
...
...
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