Progress
This commit is contained in:
10
ref-test/app/views/__init__.py
Normal file
10
ref-test/app/views/__init__.py
Normal file
@ -0,0 +1,10 @@
|
||||
from flask import Blueprint
|
||||
|
||||
views = Blueprint(
|
||||
name='common',
|
||||
import_name=__name__,
|
||||
template_folder='templates',
|
||||
static_folder='static'
|
||||
)
|
||||
|
||||
from . import privacy
|
5
ref-test/app/views/privacy.py
Normal file
5
ref-test/app/views/privacy.py
Normal file
@ -0,0 +1,5 @@
|
||||
from . import views
|
||||
|
||||
@views.route('/privacy/')
|
||||
def _privacy():
|
||||
return 'Privacy Policy'
|
Reference in New Issue
Block a user