Clarify how ROOT_DIR is calculated

This commit is contained in:
Audrey Roy Greenfeld 2016-05-17 16:15:53 -07:00
parent b04e00f140
commit 779365c9f0

View File

@ -12,7 +12,7 @@ from __future__ import absolute_import, unicode_literals
import environ 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 }}') APPS_DIR = ROOT_DIR.path('{{ cookiecutter.project_slug }}')
env = environ.Env() env = environ.Env()