X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b6d961cf3b454e6fcc9365a1121c34501f5f9106..65272584c324400613b037432b3802f9956ef5d6:/apps/wiki/views.py diff --git a/apps/wiki/views.py b/apps/wiki/views.py index da747ccc..0fc52f3c 100644 --- a/apps/wiki/views.py +++ b/apps/wiki/views.py @@ -136,7 +136,7 @@ def text(request, doc_id): try: revision = int(revision) except (ValueError, TypeError): - revision = doc.revision() + revision = doc.revision if revision is not None: text = doc.at_revision(revision).materialize()