diff --git a/project/project_name/settings/base.py b/project/project_name/settings/base.py --- a/project/project_name/settings/base.py +++ b/project/project_name/settings/base.py @@ -8,7 +8,7 @@ from os import path # Determine the Django project root directory. -PROJECT_ROOT = path.dirname(path.dirname(path.dirname(path.abspath(__file__)))) +PROJECT_ROOT = path.dirname(path.dirname(path.abspath(__file__))) ASSETS_ROOT = path.normpath(path.join(PROJECT_ROOT, "assets")) # Language code for this installation. All choices can be found here: @@ -82,9 +82,7 @@ ROOT_URLCONF = '{{ project_name }}.urls' WSGI_APPLICATION = '{{ project_name }}.wsgi.application' TEMPLATE_DIRS = ( - # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". - # Always use forward slashes, even on Windows. - # Don't forget to use absolute paths, not relative paths. + path.normpath(path.join(PROJECT_ROOT, "templates")) ) INSTALLED_APPS = (