diff --git a/passbook/core/templates/shell.html b/passbook/core/templates/shell.html index adabb7263..97d98c589 100644 --- a/passbook/core/templates/shell.html +++ b/passbook/core/templates/shell.html @@ -15,6 +15,6 @@ {% block page_content %} - + {% endblock %} diff --git a/passbook/core/views/shell.py b/passbook/core/views/shell.py index d401f3c66..9aa280e08 100644 --- a/passbook/core/views/shell.py +++ b/passbook/core/views/shell.py @@ -1,8 +1,9 @@ """core shell view""" +from django.contrib.auth.mixins import LoginRequiredMixin from django.views.generic.base import TemplateView -class ShellView(TemplateView): +class ShellView(LoginRequiredMixin, TemplateView): """core shell view""" template_name = "shell.html"