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