Services page finished. Ready for deployment
This commit is contained in:
6
app.py
6
app.py
@@ -100,7 +100,7 @@ def home():
|
||||
return render_template('_page_home.html', model=Model_View_Home(db, get_info_user(), app))
|
||||
|
||||
|
||||
@app.route('/contact', methods=['GET', 'POST'])
|
||||
@app.route('/contact', methods=['GET'])
|
||||
def contact():
|
||||
form = Form_Contact()
|
||||
if form.validate_on_submit():
|
||||
@@ -115,6 +115,10 @@ def contact():
|
||||
mail.send(mailItem)
|
||||
return render_template('_page_contact.html', model=Model_View_Contact(db, get_info_user(), app, form))
|
||||
|
||||
@app.route('/services', methods=['GET', 'POST'])
|
||||
def services():
|
||||
return render_template('_page_services.html', model=Model_View_Home(db, get_info_user(), app))
|
||||
|
||||
|
||||
# Store
|
||||
@app.route('/store', methods=['GET', 'POST'])
|
||||
|
||||
Reference in New Issue
Block a user