diff --git a/backend/pigeonhole/apps/submissions/models.py b/backend/pigeonhole/apps/submissions/models.py index 1708c18f..b454d02a 100644 --- a/backend/pigeonhole/apps/submissions/models.py +++ b/backend/pigeonhole/apps/submissions/models.py @@ -23,6 +23,7 @@ SUBMISSIONS_DIR = f"{str(settings.STATIC_ROOT)}/submissions" + def submission_folder_path(group_id, submission_id): return f"{SUBMISSIONS_DIR}/group_{group_id}/{submission_id}"