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/general.py
Normal file
8
flask_website/views/general.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from flask import Module, render_template
|
||||
|
||||
general = Module(__name__)
|
||||
|
||||
|
||||
@general.route('/')
|
||||
def index():
|
||||
return render_template('general/index.html')
|
||||
Loading…
Add table
Add a link
Reference in a new issue