fix test_formatter

This commit is contained in:
BaoLe106 2024-01-09 01:54:09 +08:00
parent 14ecef649e
commit c818001b5c
14 changed files with 961 additions and 0 deletions

View file

@ -68,6 +68,9 @@ from judge.views import (
course,
email,
)
from judge.views.test_formatter import test_formatter
from judge.views.problem_data import (
ProblemDataView,
ProblemSubmissionDiff,
@ -406,6 +409,26 @@ urlpatterns = [
]
),
),
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"^markdown_editor/",
markdown_editor.MarkdownEditor.as_view(),