Update
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
__author__ = 'RemiZOffAlex'
|
||||
__copyright__ = '(c) RemiZOffAlex'
|
||||
__license__ = 'MIT'
|
||||
__email__ = 'remizoffalex@mail.ru'
|
||||
__url__ = 'https://remizoffalex.ru'
|
||||
|
||||
from myapp import app
|
||||
from flask import Flask, render_template, request
|
||||
@@ -45,6 +43,9 @@ def edit():
|
||||
|
||||
@app.route('/login', methods=['GET', 'POST'])
|
||||
def login():
|
||||
"""
|
||||
Логин
|
||||
"""
|
||||
pagedata = {}
|
||||
pagedata['form'] = forms.LoginForm(request.form)
|
||||
body = render_template('login.html', pagedata=pagedata)
|
||||
|
||||
Reference in New Issue
Block a user