7 lines
217 B
Python
7 lines
217 B
Python
import os
|
|
|
|
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
class Config:
|
|
SQLALCHEMY_DATABASE_URI = f"sqlite:///{os.path.join(BASE_DIR, 'instance', 'database.db')}"
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False |