Ejemplo n.º 1
0
from app.setup.setup import create_app

CONFIG_FILE = 'settings.py'
app = create_app(CONFIG_FILE)
Ejemplo n.º 2
0
 def create_app(self):
     self.app = create_app(
         f'{path.dirname(path.realpath(__file__))}/settings.py')
     return self.app
Ejemplo n.º 3
0
from app.setup.setup import create_app

CONFIG_FILE = 'settings.py'

app = create_app(config_file=CONFIG_FILE)