Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-submissions
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-submissions
Commits
1f976d83
Commit
1f976d83
authored
Nov 20, 2015
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new app_label to ScoreAnnotation.
parent
39a8d140
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
submissions/models.py
+4
-2
No files found.
submissions/models.py
View file @
1f976d83
...
...
@@ -302,10 +302,13 @@ class ScoreSummary(models.Model):
class
ScoreAnnotation
(
models
.
Model
):
""" Annotate individual scores with extra information if necessary. """
class
Meta
:
app_label
=
"submissions"
score
=
models
.
ForeignKey
(
Score
)
# A string that will represent the 'type' of annotation,
# e.g. staff_override, etc.
annotation_type
=
models
.
CharField
(
max_length
=
255
,
blank
=
False
,
db_index
=
True
)
creator
=
AnonymizedUserIDField
()
reason
=
models
.
TextField
()
\ No newline at end of file
reason
=
models
.
TextField
()
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