Fixed BASE_DIR value. (#1217)

see #1216
This commit is contained in:
Antoine Nguyen
2017-08-18 15:43:11 +02:00
committed by GitHub
parent 5a92aa9a5f
commit 594be26c6c
2 changed files with 16 additions and 1 deletions
+15
View File
@@ -84,6 +84,21 @@ documentation.
Specific instructions
*********************
1.8.3
=====
Edit the :file:`settings.py` file and replace the following line:
.. sourcecode:: python
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
by:
.. sourcecode:: python
BASE_DIR = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
1.8.0
=====
@@ -16,7 +16,7 @@ from logging.handlers import SysLogHandler
from modoboa.core.dev_settings import *
{% endif %}
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
BASE_DIR = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
# Quick-start development settings - unsuitable for production