6d35feb527080e1e30e47a33df7452b6c1336115
[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())