university-final-iot-backend/app/mod_accounts/__init__.py

15 lines
232 B
Python
Raw Normal View History

2018-05-03 07:48:24 +00:00
from flask import Blueprint
from .. import db
accounts = Blueprint('accounts', __name__)
# Models
from .models import Account
from .models import Role
# Routes
@accounts.route("/")
def hello():
return "Hello from accounts!"