import os
import logging

from flask import Flask

log = logging.getLogger(__name__)

app = Flask(__name__)
app.config.from_object(os.environ['APP_SETTINGS'])

import mangacork.views

import logging

from flask import Flask

log = logging.getLogger(__name__)

app = Flask(__name__)

import mangacork.views

--- 
+++ 
@@ -1,3 +1,4 @@
+import os
 import logging
 
 from flask import Flask
@@ -5,5 +6,6 @@
 log = logging.getLogger(__name__)
 
 app = Flask(__name__)
+app.config.from_object(os.environ['APP_SETTINGS'])
 
 import mangacork.views
Add config for different env
