mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Updated doc.
This commit is contained in:
@@ -152,6 +152,32 @@ Edit the :file:`settings.py` and apply the following changes:
|
||||
'django.contrib.auth.backends.ModelBackend',
|
||||
)
|
||||
|
||||
* Remove ``TEMPLATE_CONTEXT_PROCESSORS`` and replace it by:
|
||||
|
||||
.. sourcecode:: python
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
'django.template.context_processors.debug',
|
||||
'django.template.context_processors.request',
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
'django.template.context_processors.i18n',
|
||||
'django.template.context_processors.media',
|
||||
'django.template.context_processors.static',
|
||||
'django.template.context_processors.tz',
|
||||
'django.contrib.messages.context_processors.messages',
|
||||
'modoboa.core.context_processors.top_notifications',
|
||||
],
|
||||
'debug': False,
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
Run the following commands (load virtualenv if you use one):
|
||||
|
||||
.. sourcecode:: bash
|
||||
@@ -200,6 +226,13 @@ Command line shortcuts:
|
||||
$ pip install modoboa-stats==1.1.0
|
||||
$ pip install modoboa-webmail==1.1.0
|
||||
|
||||
And please make sure you use the latest version of the
|
||||
``django-versionfield2`` package:
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
||||
$ pip install -U django-versionfield2
|
||||
|
||||
Notes about quota changes and resellers
|
||||
---------------------------------------
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ argparse
|
||||
passlib==1.6.5
|
||||
# bcrypt requires libffi-dev
|
||||
bcrypt==2.0.0
|
||||
django-versionfield2>=0.3.3
|
||||
django-versionfield2>=0.5.0
|
||||
requests
|
||||
django-xforwardedfor-middleware
|
||||
django-passwords==0.3.12
|
||||
|
||||
Reference in New Issue
Block a user