diff --git a/doc/getting_started/upgrade.rst b/doc/getting_started/upgrade.rst index c02ce9971..8e3d34d8c 100644 --- a/doc/getting_started/upgrade.rst +++ b/doc/getting_started/upgrade.rst @@ -48,6 +48,14 @@ Finally, follow the common procedure:: $ python manage.py syncdb --migrate $ python manage.py collectstatic +1.1.2: Audit trail issue +======================== + +A new middleware is necessary to retrieve the current user. To + activate it, add + ``'modoboa.lib.middleware.RequestCatcherMiddleware'`` at the end of + the ``MIDDLEWARE_CLASSES`` variable in the :file:`settings.py` file. + 1.1.1: Few bugfixes =================== diff --git a/modoboa/core/commands/templates/settings.py.tpl b/modoboa/core/commands/templates/settings.py.tpl index 87b8caa88..f2fc8fe8f 100644 --- a/modoboa/core/commands/templates/settings.py.tpl +++ b/modoboa/core/commands/templates/settings.py.tpl @@ -118,6 +118,7 @@ MIDDLEWARE_CLASSES = ( 'modoboa.lib.middleware.AjaxLoginRedirect', 'modoboa.lib.middleware.CommonExceptionCatcher', 'modoboa.lib.middleware.ExtControlMiddleware', + 'modoboa.lib.middleware.RequestCatcherMiddleware', ) ROOT_URLCONF = '{{ name }}.urls'