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