Proper import local_settings

This commit is contained in:
grisel-davy 2020-12-19 17:36:45 +01:00
parent 1328896015
commit 0fc8236890

View file

@ -12,7 +12,7 @@ https://docs.djangoproject.com/en/3.1/ref/settings/
from pathlib import Path from pathlib import Path
from local_settings import * from .local_settings import *
# Build paths inside the project like this: BASE_DIR / 'subdir'. # Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent BASE_DIR = Path(__file__).resolve().parent.parent