Skip to content
Snippets Groups Projects

Resolve "Provide import functionality via frontend for reviewers"

+ 3
3
@@ -29,8 +29,8 @@ PASSWORDS = '.importer_passwords'
YES = 'Y/n'
NO = 'y/N'
RUSTY_HEKTOR_MIN_VER = ">=3.0.0"
RUSTY_HEKTOR_MAX_VER = "<4.0.0"
RUSTY_HEKTOR_MIN_VER = ">=4.0.0"
RUSTY_HEKTOR_MAX_VER = "<5.0.0"
valid = {"yes": True, "y": True, "ye": True, "no": False, "n": False}
@@ -158,7 +158,7 @@ def load_reviewers():
store_pw=True)
def add_submission(student_obj, code, tests, type=None):
def add_submission(student_obj, code, tests, type=None, display_code=None):
submission_type_obj = SubmissionType.objects.get(name=type)
submission_obj, _ = Submission.objects.update_or_create(
Loading