X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4395564bb09e6b7d74cae3421f6342dd546b5619..3c6f3da036cb8376cef931b3d4d5e354aff473d9:/apps/wiki/views.py diff --git a/apps/wiki/views.py b/apps/wiki/views.py index 4d9fac9b..d99bca61 100644 --- a/apps/wiki/views.py +++ b/apps/wiki/views.py @@ -265,7 +265,7 @@ def history(request, chunk_id): return HttpResponseForbidden("Not authorized.") changes = [] - for change in doc.history().order_by('-created_at'): + for change in doc.history().reverse(): changes.append({ "version": change.revision, "description": change.description,