mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 10:33:53 +00:00
fix: Add login required on all remaining views
This commit is contained in:
1 parent
1bc45b1106
commit
834fb3c644
4 files changed
+18
-8
No files matched your search
@@ -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