Files
khatibi/khatibi/production_settings.py
T
2026-06-23 23:37:00 +03:30

15 lines
445 B
Python

from .settings import *
from pathlib import Path # مطمئن شوید Path ایمپورت شده است
DEBUG = True
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': Path('/app/sqlite/db.sqlite3'),
'OPTIONS': {
# ۱. افزایش زمان انتظار به ۳۰ ثانیه برای جلوگیری از خطای Database is locked
'timeout': 30,
},
}
}