diff --git a/requirements.txt b/requirements.txt index 1d21623..980f905 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ gadjo django-select2 django-ckeditor django-haystack +django-reversion diff --git a/setup.py b/setup.py index 7bfda08..439172d 100644 --- a/setup.py +++ b/setup.py @@ -102,6 +102,7 @@ setup( 'django-select2', 'django-ckeditor', 'django-haystack', + 'django-reversion', ], zip_safe=False, cmdclass={ diff --git a/welco/kb/templates/kb/page_history.html b/welco/kb/templates/kb/page_history.html new file mode 100644 index 0000000..f298752 --- /dev/null +++ b/welco/kb/templates/kb/page_history.html @@ -0,0 +1,17 @@ +{% extends "kb/base.html" %} +{% load i18n %} + +{% block appbar %} +
+{% trans 'Warning: this is an old version of this page.' %} +
+ + + +{{block.super}} + +{% endblock %} +