Update login

Add profile
This commit is contained in:
RemiZOffAlex
2019-04-26 19:38:23 +03:00
parent bba7df52d2
commit 1e9ac7eb97
17 changed files with 237 additions and 46 deletions

View File

@@ -39,14 +39,3 @@ def edit():
return body
body = render_template('edit.html', pagedata=pagedata)
return body
@app.route('/login', methods=['GET', 'POST'])
def login():
"""
Логин
"""
pagedata = {}
pagedata['form'] = forms.LoginForm(request.form)
body = render_template('login.html', pagedata=pagedata)
return body