adicionado /register /login
This commit is contained in:
parent
8c1eb7dee8
commit
9d3efaadfe
8 changed files with 76 additions and 22 deletions
|
|
@ -47,6 +47,13 @@ class User(db.Model):
|
|||
def home():
|
||||
return render_template("index.html")
|
||||
|
||||
@app.route("/register")
|
||||
def register():
|
||||
return render_template("register.html")
|
||||
|
||||
@app.route("/login")
|
||||
def login():
|
||||
return render_template("login.html")
|
||||
|
||||
if __name__ == "__main__":
|
||||
with app.app_context():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue