Coverage for website/singlepages/views.py: 100.00%
23 statements
« prev ^ index » next coverage.py v7.6.7, created at 2025-08-14 10:31 +0000
« prev ^ index » next coverage.py v7.6.7, created at 2025-08-14 10:31 +0000
1from django.contrib.auth.decorators import login_required
2from django.utils.decorators import method_decorator
3from django.views.generic import TemplateView
6@method_decorator(login_required, "dispatch")
7class StyleGuideView(TemplateView):
8 """Static page with the style guide."""
10 template_name = "singlepages/styleguide.html"
13@method_decorator(login_required, "dispatch")
14class BecomeActiveView(TemplateView):
15 """Static page with info about becoming an active member."""
17 template_name = "singlepages/become_active.html"
20class PrivacyPolicyView(TemplateView):
21 """Static page with the privacy policy."""
23 template_name = "singlepages/privacy_policy.html"
26class ResponsibleDisclosureView(TemplateView):
27 """Static page with the responsible disclosure policy."""
29 template_name = "singlepages/responsible_disclosure.html"
32class EventTermsView(TemplateView):
33 """Static page with the event registration terms."""
35 template_name = "singlepages/event_registration_terms.html"
38class SiblingAssociationsView(TemplateView):
39 """Static page with the sibling associations."""
41 template_name = "singlepages/sibling_associations.html"
44class ContactView(TemplateView):
45 """Static page with contact info."""
47 template_name = "singlepages/contact.html"
50class StudentWellBeingView(TemplateView):
51 """Static page with info on student well-being."""
53 template_name = "singlepages/student_well-being.html"
56class StudentParticipantView(TemplateView):
57 """Renders a page with information about student information."""
59 template_name = "singlepages/student_participation.html"