diff --git a/tardis/apps/idw_download/default_settings.py b/tardis/apps/idw_download/default_settings.py index c6743d820..bf0bb3616 100644 --- a/tardis/apps/idw_download/default_settings.py +++ b/tardis/apps/idw_download/default_settings.py @@ -2,4 +2,4 @@ USER_MENU_MODIFIERS.extend( ["tardis.apps.idw_download.user_menu_modifiers.add_idw_menu_item"] -) \ No newline at end of file +) diff --git a/tardis/apps/idw_download/urls.py b/tardis/apps/idw_download/urls.py index 6a59619fc..d8ded196e 100644 --- a/tardis/apps/idw_download/urls.py +++ b/tardis/apps/idw_download/urls.py @@ -7,4 +7,4 @@ urlpatterns = [re_path("idw-yaml/", IDWYAMLView.as_view(), name="idw-yaml"), re_path("^$", IDWIndexView.as_view(), name="index") -] \ No newline at end of file +] diff --git a/tardis/apps/idw_download/views/idw.py b/tardis/apps/idw_download/views/idw.py index 6d025b364..2089e8d8d 100644 --- a/tardis/apps/idw_download/views/idw.py +++ b/tardis/apps/idw_download/views/idw.py @@ -1,7 +1,6 @@ from django.contrib.auth.decorators import login_required -from django.shortcuts import render from django.views.generic.base import TemplateView -# @login_required +@login_required class IDWIndexView(TemplateView): - template_name = "idw/index.html" \ No newline at end of file + template_name = "idw/index.html"