2023-04-15 22:49:50 +09:00
|
|
|
from .base import *
|
|
|
|
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
|
|
DEBUG = True
|
|
|
|
|
|
|
|
ALLOWED_HOSTS = ["*"]
|
|
|
|
|
|
|
|
CORS_ALLOW_ALL_ORIGINS = True
|
2023-05-16 23:44:33 +09:00
|
|
|
CORS_ALLOW_CREDENTIALS = True
|
2023-04-15 22:49:50 +09:00
|
|
|
|
|
|
|
|
|
|
|
# Database
|
|
|
|
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
"default": {
|
|
|
|
"ENGINE": "django.db.backends.sqlite3",
|
|
|
|
"NAME": BASE_DIR / "db.sqlite3",
|
|
|
|
}
|
|
|
|
}
|