Add login required to test formatter
This commit is contained in:
parent
a079827aa6
commit
e22061fc84
1 changed files with 5 additions and 3 deletions
|
@ -407,16 +407,18 @@ urlpatterns = [
|
||||||
include(
|
include(
|
||||||
[
|
[
|
||||||
url(
|
url(
|
||||||
r"^$", test_formatter.TestFormatter.as_view(), name="test_formatter"
|
r"^$",
|
||||||
|
login_required(test_formatter.TestFormatter.as_view()),
|
||||||
|
name="test_formatter",
|
||||||
),
|
),
|
||||||
url(
|
url(
|
||||||
r"^edit_page$",
|
r"^edit_page$",
|
||||||
test_formatter.EditTestFormatter.as_view(),
|
login_required(test_formatter.EditTestFormatter.as_view()),
|
||||||
name="test_formatter_edit",
|
name="test_formatter_edit",
|
||||||
),
|
),
|
||||||
url(
|
url(
|
||||||
r"^download_page$",
|
r"^download_page$",
|
||||||
test_formatter.DownloadTestFormatter.as_view(),
|
login_required(test_formatter.DownloadTestFormatter.as_view()),
|
||||||
name="test_formatter_download",
|
name="test_formatter_download",
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue