mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-05-15 23:41:28 +01:00
fix: Add login required on all remaining views
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user