fnp
/
turniej.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
missing setting
[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())