X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4395564bb09e6b7d74cae3421f6342dd546b5619..5bbc488088e1d46bd14ebf9a96852f8ee8b231a2:/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,