Converted app into a package
This commit is contained in:
parent
ef7818e10e
commit
904fe68d51
22 changed files with 49 additions and 35 deletions
8
flask_website/views/snippets.py
Normal file
8
flask_website/views/snippets.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from flask import Module, render_template
|
||||
|
||||
snippets = Module(__name__, url_prefix='/snippets')
|
||||
|
||||
|
||||
@snippets.route('/')
|
||||
def index():
|
||||
return render_template('snippets/index.html')
|
||||
Loading…
Add table
Add a link
Reference in a new issue