from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent MEDIA_ROOT = "media" INSTALLED_APPS = [ 'django.contrib.auth', 'django.contrib.contenttypes', 'byostorage' ] SECRET_KEY = 'shh!' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': BASE_DIR / 'db.sqlite3', } }