fixes
[turniej.git] / turniej / views.py
1 from django.shortcuts import render
2 from poetry.models import Poem
3
4 def home(request):
5     last = Poem.objects.all().order_by('-created_at')[:10]
6     return render(request, "home.html", locals())