diff options
Diffstat (limited to 'django/conf/project_template/project_name/settings.py-tpl')
-rw-r--r-- | django/conf/project_template/project_name/settings.py-tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/conf/project_template/project_name/settings.py-tpl b/django/conf/project_template/project_name/settings.py-tpl index 7d230ef0cc..64d32d7059 100644 --- a/django/conf/project_template/project_name/settings.py-tpl +++ b/django/conf/project_template/project_name/settings.py-tpl @@ -13,7 +13,7 @@ https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/ from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. -BASE_DIR = Path(__file__).resolve(strict=True).parents[1] +BASE_DIR = Path(__file__).resolve(strict=True).parent.parent # Quick-start development settings - unsuitable for production |