Use absolute paths for imports

This commit is contained in:
Rebecca Law
2015-11-20 16:33:11 +00:00
parent 043f930e57
commit 9ec1ba2dfa
3 changed files with 3 additions and 3 deletions

View File

@@ -3,4 +3,4 @@ from flask import Blueprint
main = Blueprint('main', __name__)
from .views import index
from app.main.views import index

View File

@@ -1,4 +1,4 @@
from .. import main
from app.main import main
@main.route('/index')