cake-erp-challenge/api/config.py

8 lines
260 B
Python
Raw Normal View History

import string
import random
random_str = string.ascii_letters + string.digits + string.ascii_uppercase
2021-10-18 23:43:26 -04:00
SECRET_KEY = ''.join(random.choice(random_str) for _ in range(12))
2021-10-17 17:59:27 -04:00
SQLALCHEMY_DATABASE_URI = 'sqlite:///database.db'
SQLALCHEMY_TRACK_MODIFICATIONS = False