templates moved

This commit is contained in:
Oleg Podsadny 2013-06-09 23:49:41 +02:00
parent 1a0b4ee89e
commit a5071cfacd
4 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ from flask import Blueprint
from .manager import login_manager, check_valid_login
from .models import db
auth = Blueprint('auth', __name__, template_folder='auth')
auth = Blueprint('auth', __name__, template_folder='../')
@auth.record_once

View File

@ -18,6 +18,6 @@ def login():
return redirect(request.args.get('next') or url_for('index'))
return render_template(
'login.html',
'auth/login.html',
form=form,
)

View File

@ -1,3 +1,4 @@
import os
from flask import Flask
from pytest_bdd_example.dashboard import settings