feat: added simple auth system

This commit is contained in:
2025-05-13 13:20:25 +02:00
parent 07ea49a035
commit 64432a3854
5 changed files with 81 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ class HomeView(TemplateView):
template_name = "ticketsystem/home.html"
class TicketListView(ListView):
class TicketListView(LoginRequiredMixin, ListView):
model = Ticket
template_name = "ticketsystem/index.html"
context_object_name = "tickets"