Documentation update.

This commit is contained in:
Antoine Nguyen
2011-08-25 09:53:07 +02:00
parent 34c2e4227a
commit 5e7b45513f
2 changed files with 42 additions and 11 deletions
+40 -9
View File
@@ -208,6 +208,34 @@ requires a migration.
Before executing a schema/data migration, I recommend that you make
a copy of your existing database.
0.8.6: Quarantine plugin refactoring (using Django's ORM)
---------------------------------------------------------
#. Just update your configuration if you are using the quarantine
plugin. Open *settings.py*, move the database configuration from
the ``DB_CONNECTIONS`` variable to the ``DATABASES`` variable, like
this::
DATABASES = {
"default" : {
# The default database configuration
},
# ...
"amavis": {
"ENGINE" : "<your value>",
"HOST" : "<your value>",
"NAME" : "<your value>",
"USER" : "<your value>",
"PASSWORD" : "<your value>"
}
}
#. Add the new following variable somewhere in the file::
DATABASE_ROUTERS = ["modoboa.extensions.amavis_quarantine.dbrouter.AmavisRouter"]
#. Remove the deprecated ``DB_CONNECTIONS`` variable from *settings.py*.
0.8.5: new "Sieve filters" plugin, improved admin app
-----------------------------------------------------
@@ -817,16 +845,19 @@ quarantine. You can consult messages and/or release or delete them.
First, you need to specify where the database that contains the
quarantine is. Inside *settings.py*, add a new connection to the
``DB_CONNECTIONS`` variable like this::
``DATABASES`` variable like this::
DB_CONNECTIONS = {
"amavis_quarantine" : {"driver" : "mysql",
"host" : "<your_host>",
"dbname" : "<amavis_dbname>",
"login" : "<user>",
"password" : "<password>"}
}
DATABASES = {
# Stuff before
#
"amavis": {
"ENGINE" : "<your value>",
"HOST" : "<your value>",
"NAME" : "<your value>",
"USER" : "<your value>",
"PASSWORD" : "<your value>"
}
}
Replace values between ``<>`` with yours.
+2 -2
View File
@@ -48,9 +48,9 @@ copyright = u'2011, Antoine Nguyen'
# built documents.
#
# The short X.Y version.
version = '0.8.5'
version = '0.8.6'
# The full version, including alpha/beta/rc tags.
release = '0.8.5'
release = '0.8.6'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.