X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5d9c33d00933597e218b732e3bd0bcbb55c4f371..6e19546487a3c569260400b96628eea3684fe040:/src/cover/views.py?ds=sidebyside diff --git a/src/cover/views.py b/src/cover/views.py index 02d642c4..620ad1aa 100644 --- 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", { - 'object_list': Image.objects.all(), + 'object_list': Image.objects.all().order_by('-id'), 'can_add': request.user.has_perm('cover.add_image'), })