Add login required to test formatter

This commit is contained in:
cuom1999 2024-01-29 13:22:43 -06:00
parent a079827aa6
commit e22061fc84

View file

@ -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",
), ),
] ]