This commit is contained in:
2024-12-11 23:22:09 +01:00
parent 4b86b33872
commit 9b7944c14d
53 changed files with 2054 additions and 249 deletions

View File

@@ -0,0 +1,10 @@
from django.http import HttpRequest
from django.views.generic import TemplateView
class BackofficeIndexView(TemplateView):
template_name = "backoffice/index.html"
def get(self, request: HttpRequest, *args, **kwargs):
seasons = request.user.seasons.all()
return self.render_to_response({"seasons": seasons})