markdown_editor ver1

This commit is contained in:
BaoLe106 2023-09-19 15:02:15 +08:00
parent e76e34f11c
commit 872424a96f
3 changed files with 87 additions and 0 deletions

View file

@ -44,6 +44,7 @@ from judge.views import (
language,
license,
mailgun,
markdown_editor,
notification,
organization,
preview,
@ -405,6 +406,11 @@ urlpatterns = [
]
),
),
url(
r"^markdown_editor/",
markdown_editor.MarkdownEditor.as_view(),
name="markdown_editor",
),
url(
r"^submission_source_file/(?P<filename>(\w|\.)+)",
submission.SubmissionSourceFileView.as_view(),