mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00: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