nopaque/app/main/__init__.py
2019-11-06 13:22:18 +01:00

13 lines
221 B
Python

from flask import Blueprint
main = Blueprint('main', __name__)
from . import errors, views
from ..models import Permission
@main.app_context_processor
def inject_permissions():
return dict(Permission=Permission)