Test Formatter 1st commit

This commit is contained in:
BaoLe106 2023-12-23 14:26:03 +08:00
parent 0403c4be31
commit 3d59aa4809
13 changed files with 925 additions and 0 deletions

View file

@ -45,6 +45,7 @@ from judge.views import (
license,
mailgun,
markdown_editor,
test_formatter,
notification,
organization,
preview,
@ -411,6 +412,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(),