diff --git a/dmoj/urls.py b/dmoj/urls.py index 91df8ec..298b3ce 100644 --- a/dmoj/urls.py +++ b/dmoj/urls.py @@ -407,16 +407,18 @@ urlpatterns = [ include( [ url( - r"^$", test_formatter.TestFormatter.as_view(), name="test_formatter" + r"^$", + login_required(test_formatter.TestFormatter.as_view()), + name="test_formatter", ), url( r"^edit_page$", - test_formatter.EditTestFormatter.as_view(), + login_required(test_formatter.EditTestFormatter.as_view()), name="test_formatter_edit", ), url( r"^download_page$", - test_formatter.DownloadTestFormatter.as_view(), + login_required(test_formatter.DownloadTestFormatter.as_view()), name="test_formatter_download", ), ]