diff --git a/passbook/core/views/utils.py b/passbook/core/views/utils.py index f1dc747a7..d73199cee 100644 --- a/passbook/core/views/utils.py +++ b/passbook/core/views/utils.py @@ -1,5 +1,4 @@ """passbook core utils view""" -from django.contrib.auth.mixins import LoginRequiredMixin from django.utils.translation import ugettext as _ from django.views.generic import TemplateView @@ -21,7 +20,7 @@ class LoadingView(TemplateView): kwargs['target_url'] = self.get_url() return super().get_context_data(**kwargs) -class PermissionDeniedView(LoginRequiredMixin, TemplateView): +class PermissionDeniedView(TemplateView): """Generic Permission denied view""" template_name = 'login/denied.html'