You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
695 B
24 lines
695 B
##########################################################
|
|
#
|
|
# This is a sample flask.cfg for developing a Flask application
|
|
#
|
|
##########################################################
|
|
import os
|
|
|
|
|
|
# Get the folder of the top-level directory of this project
|
|
BASEDIR = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
# Update later by using a random number generator and moving
|
|
# the actual key outside of the source code under version control
|
|
#SECRET_KEY = 'bad_secret_key'
|
|
#WTF_CSRF_ENABLED = True
|
|
#DEBUG = True
|
|
|
|
# SQLAlchemy
|
|
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(BASEDIR, 'app.db')
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
|
|
|
# Bcrypt algorithm hashing rounds
|
|
#BCRYPT_LOG_ROUNDS = 15
|
|
|
|
|