From 779365c9f0009ef9dc19ef91bc5de6694af8a9e6 Mon Sep 17 00:00:00 2001 From: Audrey Roy Greenfeld Date: Tue, 17 May 2016 16:15:53 -0700 Subject: [PATCH] Clarify how ROOT_DIR is calculated --- {{cookiecutter.project_slug}}/config/settings/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/config/settings/common.py b/{{cookiecutter.project_slug}}/config/settings/common.py index 292da882..3668b427 100644 --- a/{{cookiecutter.project_slug}}/config/settings/common.py +++ b/{{cookiecutter.project_slug}}/config/settings/common.py @@ -12,7 +12,7 @@ from __future__ import absolute_import, unicode_literals import environ -ROOT_DIR = environ.Path(__file__) - 3 # (/a/b/myfile.py - 3 = /) +ROOT_DIR = environ.Path(__file__) - 3 # ({{ cookiecutter.project_slug }}/config/settings/common.py - 3 = {{ cookiecutter.project_slug }}/) APPS_DIR = ROOT_DIR.path('{{ cookiecutter.project_slug }}') env = environ.Env()