|
@ -17,7 +17,7 @@ login_manager = LoginManager() |
|
|
|
|
|
|
|
|
def create_app(): |
|
|
def create_app(): |
|
|
APP.secret_key = "secret-key" |
|
|
APP.secret_key = "secret-key" |
|
|
APP.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///data/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"] = 150 * 1024 * 1024 |
|
|
APP.config["MAX_CONTENT_LENGTH"] = 150 * 1024 * 1024 |
|
|
|
|
|
|
|
|