chore: fix pre-commit hook

This commit is contained in:
2026-09-10 13:58:49 +02:00
parent 3944c971eb
commit cce932d171
15 changed files with 139 additions and 44 deletions
+10 -3
View File
@@ -1,10 +1,17 @@
from django.views.generic import TemplateView
from django.views.generic import ListView, TemplateView
from portfolio import models
class IndexView(TemplateView):
class PortfolioView(TemplateView):
template_name = "index.html"
def get_context_data(self, **kwargs):
return {"job_experiences": models.JobExperience.objects.all().order_by("-start")}
return {
"job_experiences": models.JobExperience.objects.all().order_by("-start")
}
class ProjectList(ListView):
template_name = "project_list.html"
model = models.Project