# HG changeset patch # User Dennis Fink # Date 2014-02-04 01:11:55 # Node ID 4eaea26f42fdeb90e7553d808f2db13c859d32b8 # Parent e563fc2323d0de84f2bd496933e1fc5a044cbcf1 moved views.py, forms.py and constants.py from root blueprint to its own subpackage diff --git a/ennstatus/root/__init__.py b/ennstatus/root/__init__.py new file mode 100644 diff --git a/ennstatus/constants.py b/ennstatus/root/constants.py rename from ennstatus/constants.py rename to ennstatus/root/constants.py diff --git a/ennstatus/forms.py b/ennstatus/root/forms.py rename from ennstatus/forms.py rename to ennstatus/root/forms.py diff --git a/ennstatus/views.py b/ennstatus/root/views.py rename from ennstatus/views.py rename to ennstatus/root/views.py --- a/ennstatus/views.py +++ b/ennstatus/root/views.py @@ -1,8 +1,8 @@ from flask import (Blueprint, render_template, current_app, request, redirect, url_for) -from ennstatus.forms import BPMForm -from ennstatus.constants import BPM_ADDRESSES +from ennstatus.root.forms import BPMForm +from ennstatus.root.constants import BPM_ADDRESSES root_page = Blueprint('root', __name__)