fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Filter by cover image license.
[redakcja.git]
/
src
/
cover
/
views.py
diff --git
a/src/cover/views.py
b/src/cover/views.py
index
02d642c
..
620ad1a
100644
(file)
--- a/
src/cover/views.py
+++ b/
src/cover/views.py
@@
-127,7
+127,7
@@
def image_file(request, pk):
@active_tab('cover')
def image_list(request):
return render(request, "cover/image_list.html", {
@active_tab('cover')
def image_list(request):
return render(request, "cover/image_list.html", {
- 'object_list': Image.objects.all(),
+ 'object_list': Image.objects.all()
.order_by('-id')
,
'can_add': request.user.has_perm('cover.add_image'),
})
'can_add': request.user.has_perm('cover.add_image'),
})