database config together
This commit is contained in:
parent
8567af2ed4
commit
8cf699214c
@ -19,8 +19,8 @@ def create_app():
|
|||||||
APP.secret_key = os.urandom(24)
|
APP.secret_key = os.urandom(24)
|
||||||
APP.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///distribusiverse.db"
|
APP.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///distribusiverse.db"
|
||||||
APP.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True
|
APP.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True
|
||||||
APP.config["MAX_CONTENT_LENGTH"] = 1024 * 1024 * 1024
|
|
||||||
|
|
||||||
|
APP.config["MAX_CONTENT_LENGTH"] = 1024 * 1024 * 1024
|
||||||
APP.config["MAIL_SERVER"] = "mail.autonomic.zone"
|
APP.config["MAIL_SERVER"] = "mail.autonomic.zone"
|
||||||
APP.config["MAIL_PORT"] = 587
|
APP.config["MAIL_PORT"] = 587
|
||||||
APP.config["MAIL_USE_SSL"] = False
|
APP.config["MAIL_USE_SSL"] = False
|
||||||
|
Loading…
Reference in New Issue
Block a user