FLASK_ENV=development | FLASK_ENV=development | ||||
SECRET_KEY= | SECRET_KEY= | ||||
DATABASE_URL=sqlite:///db.sqlite | DATABASE_URL=sqlite:///db.sqlite | ||||
SERVER_NAME= | |||||
# MariaDB variables (for production only) | # MariaDB variables (for production only) | ||||
MYSQL_ROOT_PASSWORD= | MYSQL_ROOT_PASSWORD= |
from .models import User | from .models import User | ||||
from . import db | from . import db | ||||
auth = Blueprint('auth', __name__) | |||||
auth = Blueprint('auth', __name__, subdomain="toolkit") | |||||
# routes for login page | # routes for login page | ||||
@auth.route('/login') | @auth.route('/login') |