This commit is contained in:
BaoLe106 2024-01-09 01:57:44 +08:00
commit 79d3431906
8 changed files with 663 additions and 0 deletions

View file

@ -45,6 +45,7 @@ from judge.views import (
license,
mailgun,
markdown_editor,
test_formatter,
notification,
organization,
preview,
@ -434,6 +435,26 @@ urlpatterns = [
markdown_editor.MarkdownEditor.as_view(),
name="markdown_editor",
),
url(
r"^test_formatter/",
include(
[
url(
r"^$", test_formatter.TestFormatter.as_view(), name="test_formatter"
),
url(
r"^edit_page$",
test_formatter.EditTestFormatter.as_view(),
name="edit_page",
),
url(
r"^download_page$",
test_formatter.DownloadTestFormatter.as_view(),
name="download_page",
),
]
),
),
url(
r"^submission_source_file/(?P<filename>(\w|\.)+)",
submission.SubmissionSourceFileView.as_view(),