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