Skip to content

Commit

Permalink
Fix pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
uoa-noel committed Jul 8, 2024
1 parent 7ad070b commit 66907e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tardis/apps/idw_download/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

USER_MENU_MODIFIERS.extend(
["tardis.apps.idw_download.user_menu_modifiers.add_idw_menu_item"]
)
)
2 changes: 1 addition & 1 deletion tardis/apps/idw_download/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

urlpatterns = [re_path("idw-yaml/", IDWYAMLView.as_view(), name="idw-yaml"),
re_path("^$", IDWIndexView.as_view(), name="index")
]
]
5 changes: 2 additions & 3 deletions tardis/apps/idw_download/views/idw.py
Original file line number Diff line number Diff line change
@@ -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"
template_name = "idw/index.html"

0 comments on commit 66907e1

Please sign in to comment.