Started from scratch and failed
Issue with register_blueprint
This commit is contained in:
1 parent
9c0c7f6ba1
commit
1b111727be
99 files changed
+210
-5920
No files matched your search
@@ -0,0 +1,5 @@
|
||||
from flask import Blueprint
|
||||
|
||||
t = Blueprint(name='test', import_name=__name__)
|
||||
|
||||
from . import foo
|
||||
@@ -0,0 +1,5 @@
|
||||
from . import t
|
||||
|
||||
@t.route('/')
|
||||
def _t():
|
||||
return 'Test'
|
||||
Reference in new issue
Block a user