pytest-bdd-example/pytest_bdd_example/dashboard/settings.py

9 lines
283 B
Python

import os
DEBUG = True
BASE_PATH = os.path.dirname(os.path.abspath(__file__))
MEDIA_ROOT = os.path.join(BASE_PATH, '../media')
TEMPLATES_ROOT = os.path.join(BASE_PATH, '../templates', 'dashboard')
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(BASE_PATH, '../dashboard.db')