mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Integrated logging from the utils repo
This commit is contained in:
@@ -12,6 +12,7 @@ from app.notify_client.api_client import AdminAPIClient
|
||||
from app.its_dangerous_session import ItsdangerousSessionInterface
|
||||
import app.proxy_fix
|
||||
from config import configs
|
||||
from utils import logging
|
||||
|
||||
|
||||
db = SQLAlchemy()
|
||||
@@ -31,6 +32,7 @@ def create_app(config_name):
|
||||
db.init_app(application)
|
||||
init_app(application)
|
||||
init_csrf(application)
|
||||
logging.init_app(application)
|
||||
|
||||
login_manager.init_app(application)
|
||||
login_manager.login_view = 'main.render_sign_in'
|
||||
|
||||
@@ -10,3 +10,5 @@ Flask-Login==0.2.11
|
||||
Flask-Bcrypt==0.6.2
|
||||
|
||||
git+https://github.com/alphagov/notify-api-client.git@0.1.4#egg=notify-api-client==0.1.4
|
||||
|
||||
git+https://github.com/alphagov/notifications-utils.git@0.0.3#egg=notifications-utils==0.0.3
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
python app.py runserver
|
||||
python3 app.py runserver
|
||||
|
||||
Reference in New Issue
Block a user