minor edit
[turniej.git] / apps / edition1 / 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, "edition1/home.html", locals())