mirror of
https://github.com/Superredstone/patrickcanal.it.git
synced 2026-09-20 17:51:12 +02:00
11 lines
275 B
Python
11 lines
275 B
Python
from django.views.generic import TemplateView
|
|
|
|
from portfolio import models
|
|
|
|
|
|
class IndexView(TemplateView):
|
|
template_name = "index.html"
|
|
|
|
def get_context_data(self, **kwargs):
|
|
return {"job_experiences": models.JobExperience.objects.all().order_by("-start")}
|