diff --git a/{{cookiecutter.project_slug}}/config/settings/base.py b/{{cookiecutter.project_slug}}/config/settings/base.py index 2f2efb619a..1fc5f71bd8 100644 --- a/{{cookiecutter.project_slug}}/config/settings/base.py +++ b/{{cookiecutter.project_slug}}/config/settings/base.py @@ -2,13 +2,12 @@ """Base settings to build other settings files upon.""" from pathlib import Path - -import environ - {% if cookiecutter.use_celery == 'y' %} import ssl {% endif %} +import environ + BASE_DIR = Path(__file__).resolve(strict=True).parent.parent.parent # {{ cookiecutter.project_slug }}/ APPS_DIR = BASE_DIR / "{{ cookiecutter.project_slug }}"