Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
f693bc1f
Commit
f693bc1f
authored
Feb 19, 2014
by
Stephen Sanchez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missed a file in renaming evaluations
parent
bee1251e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
apps/submissions/api.py
+3
-3
No files found.
apps/submissions/api.py
View file @
f693bc1f
...
@@ -59,15 +59,15 @@ class SubmissionRequestError(SubmissionError):
...
@@ -59,15 +59,15 @@ class SubmissionRequestError(SubmissionError):
def
create_submission
(
student_item_dict
,
answer
,
submitted_at
=
None
,
def
create_submission
(
student_item_dict
,
answer
,
submitted_at
=
None
,
attempt_number
=
None
):
attempt_number
=
None
):
"""Creates a submission for
evaluation
.
"""Creates a submission for
assessment
.
Generic means by which to submit an answer for
evaluation
.
Generic means by which to submit an answer for
assessment
.
Args:
Args:
student_item_dict (dict): The student_item this
student_item_dict (dict): The student_item this
submission is associated with. This is used to determine which
submission is associated with. This is used to determine which
course, student, and location this submission belongs to.
course, student, and location this submission belongs to.
answer (str): The answer given by the student to be
evaluat
ed.
answer (str): The answer given by the student to be
assess
ed.
submitted_at (datetime): The date in which this submission was submitted.
submitted_at (datetime): The date in which this submission was submitted.
If not specified, defaults to the current date.
If not specified, defaults to the current date.
attempt_number (int): A student may be able to submit multiple attempts
attempt_number (int): A student may be able to submit multiple attempts
...
...
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