templates moved
This commit is contained in:
parent
1a0b4ee89e
commit
a5071cfacd
|
@ -3,7 +3,7 @@ from flask import Blueprint
|
||||||
from .manager import login_manager, check_valid_login
|
from .manager import login_manager, check_valid_login
|
||||||
from .models import db
|
from .models import db
|
||||||
|
|
||||||
auth = Blueprint('auth', __name__, template_folder='auth')
|
auth = Blueprint('auth', __name__, template_folder='../')
|
||||||
|
|
||||||
|
|
||||||
@auth.record_once
|
@auth.record_once
|
||||||
|
|
|
@ -18,6 +18,6 @@ def login():
|
||||||
return redirect(request.args.get('next') or url_for('index'))
|
return redirect(request.args.get('next') or url_for('index'))
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
'login.html',
|
'auth/login.html',
|
||||||
form=form,
|
form=form,
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import os
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
|
|
||||||
from pytest_bdd_example.dashboard import settings
|
from pytest_bdd_example.dashboard import settings
|
||||||
|
|
Loading…
Reference in New Issue