X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5d9c33d00933597e218b732e3bd0bcbb55c4f371..df3e7b60880c31eda0abdedd0eb6bd8b54a8e364:/src/cover/views.py 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'), })