Merge branch 'master' into api-throttling

This commit is contained in:
Spitap
2023-02-06 10:56:12 +01:00
6 changed files with 42 additions and 18 deletions
+21 -2
View File
@@ -94,6 +94,8 @@ Specific instructions
2.0.4
=====
The following modifications must be applied to the :file:`settings.py` file:
* Add ``'modoboa.core.context_processors.new_admin_url',`` at the end of `context_processors` list:
.. sourcecode:: python
@@ -122,10 +124,27 @@ Specific instructions
]
* You now have the possibility to customize the url of the new-admin interface.
* Add the following variable::
To do so please head up to :ref:`the custom configuration chapter <customization>` (advanced user).
.. sourcecode:: python
PID_FILE_STORAGE_PATH = '/var/run'
* Update ``LOGGING`` variable to define an address for ``syslog-auth`` handler::
.. sourcecode:: python
'syslog-auth': {
'class': 'logging.handlers.SysLogHandler',
'facility': SysLogHandler.LOG_AUTH,
'formatter': 'syslog',
'address': '/dev/log'
},
* You now have the possibility to customize the url of the new-admin
interface. To do so please head up to :ref:`the custom configuration
chapter <customization>` (advanced user).
* Add ``DEFAULT_THROTTLE_RATES`` to ``REST_FRAMEWORK``: