Started from scratch and failed

Issue with register_blueprint
This commit is contained in:
viveksantayana committed 2022-06-11 02:39:47 +01:00
1 parent 9c0c7f6ba1
commit 1b111727be
99 files changed
+210 -5920

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
from flask import Blueprint
common = Blueprint(
name='common',
import_name=__name__,
template_folder='templates',
static_folder='static'
)
from . import privacy
+5
View File
@@ -0,0 +1,5 @@
from . import common
@common.route('/privacy/')
def _privacy():
return 'Privacy Policy'