diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-16 10:06:37 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-16 10:06:37 +0100 |
commit | 7f7debbe0d5d5bbbe4182207137b651be100e408 (patch) | |
tree | 73eb9bd9faefb2641f997a6c3f43814d2b0b9633 /instruments/views.py | |
parent | 3c724c0a25a8cfa34befbbb88bff1236cc88ec20 (diff) |
Fixes miss-named list view function
Diffstat (limited to 'instruments/views.py')
-rw-r--r-- | instruments/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/instruments/views.py b/instruments/views.py index 0329e00..37ec69f 100644 --- a/instruments/views.py +++ b/instruments/views.py @@ -1,10 +1,11 @@ # from django.shortcuts import render +from django.contrib.auth.mixins import LoginRequiredMixin from django.views.generic.list import ListView from .models import SOP -class SOPListView(ListView): +class SOPListView(LoginRequiredMixin, ListView): model = SOP paginate_by = 100 |