Pequenas correções
- atualizando requirements - gitignore com as extensoes de database - garantindo admin com role associada
This commit is contained in:
6
app.py
6
app.py
@@ -5,7 +5,7 @@ import logging
|
||||
import time
|
||||
from pathlib import Path
|
||||
from flask import Flask
|
||||
from flask_bootstrap5 import Bootstrap
|
||||
from flask_bootstrap import Bootstrap5
|
||||
from flask_login import LoginManager
|
||||
from flask_wtf.csrf import CSRFProtect
|
||||
from flask_mail import Mail
|
||||
@@ -72,7 +72,7 @@ def create_app():
|
||||
setup_logging(app)
|
||||
|
||||
# Configurar Bootstrap
|
||||
bootstrap = Bootstrap(app)
|
||||
bootstrap = Bootstrap5(app)
|
||||
|
||||
# Configurar CSRF Protection (desabilitado temporariamente)
|
||||
# csrf = CSRFProtect()
|
||||
@@ -183,4 +183,4 @@ if __name__ == '__main__':
|
||||
host='0.0.0.0',
|
||||
port=5000,
|
||||
debug=os.getenv('FLASK_ENV') == 'development'
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user