X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4395564bb09e6b7d74cae3421f6342dd546b5619..8d426d983babe3d2683ed62b6675073d21bd5d94:/apps/wiki/views.py?ds=sidebyside 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,