Files
2026-09-10 11:34:19 +03:30

10 lines
473 B
Python

from .base import *
DEBUG = True
ALLOWED_HOSTS = ["*"]
if os.getenv("USE_SQLITE", "true").lower() == "true":
DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": BASE_DIR / "db.sqlite3", "OPTIONS": {"timeout": 20}, "TEST": {"NAME": BASE_DIR / ".test-db.sqlite3"}}}
# Local demo access only. Production settings leave both values empty.
DEV_OTP_MOBILE = os.getenv("DEV_OTP_MOBILE", "+989202202129")
DEV_OTP_CODE = os.getenv("DEV_OTP_CODE", "12345")