mirror of
https://github.com/Superredstone/patrickcanal.it.git
synced 2026-09-20 17:51:12 +02:00
feat(portfolio): improve landing page
This commit is contained in:
+4
-1
@@ -1,7 +1,10 @@
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
from portfolio import models
|
||||
|
||||
|
||||
# Create your views here.
|
||||
class IndexView(TemplateView):
|
||||
template_name = "index.html"
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
return {"job_experiences": models.JobExperience.objects.all().order_by("-start")}
|
||||
|
||||
Reference in New Issue
Block a user