fix: Add login required on all remaining views

This commit is contained in:
James Graham committed 2020-03-30 20:52:09 +01:00
1 parent 1bc45b1106
commit 834fb3c644
4 files changed
+18 -8

No files matched your search

+8 -1
View File
@@ -1,3 +1,10 @@
"""
Views belonging to the core of the project.
These views don't represent any of the models in the apps.
"""
from django.contrib.auth.mixins import LoginRequiredMixin
from django.views.generic import TemplateView
@@ -5,5 +12,5 @@ class IndexView(TemplateView):
template_name = 'index.html'
class ExportListView(TemplateView):
class ExportListView(LoginRequiredMixin, TemplateView):
template_name = 'export.html'