Fixes for fix a warning about registering blueprints
This commit is contained in:
parent
8c2bcdc74a
commit
dfbdc7109f
4 changed files with 25 additions and 13 deletions
|
|
@ -0,0 +1,4 @@
|
|||
from flask import Blueprint, redirect
|
||||
|
||||
welcome_app=Blueprint('welcome_app', __name__)
|
||||
|
||||
|
|
@ -1,13 +1,12 @@
|
|||
from flask import Blueprint, redirect
|
||||
|
||||
from settings import config
|
||||
from paramecio2.libraries.mtemplates import PTemplate, env_theme
|
||||
from paramecio2.modules.welcome import welcome_app
|
||||
|
||||
env=env_theme(__file__)
|
||||
|
||||
t=PTemplate(env)
|
||||
|
||||
welcome_app=Blueprint('welcome_app', __name__)
|
||||
|
||||
@welcome_app.route('/welcome')
|
||||
def home():
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue