-
-
Save Kd-Here/62d24364878c53b4551a293b79a003d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Blueprint,render_template | |
auth = Blueprint('auth',__name__) | |
@auth.route('/login') | |
def login(): | |
return render_template('login.html',data_from_backend='testing data from backend') | |
@auth.route('/sign-up') | |
def singin(): | |
return render_template('sign_up.html') | |
@auth.route('/logout') | |
def logout(): | |
return "<h2>Logout</h2>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment