Merge branch 'master' of https://github.com/BaoLe106/online-judge
This commit is contained in:
commit
79d3431906
8 changed files with 663 additions and 0 deletions
21
dmoj/urls.py
21
dmoj/urls.py
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue