nopaque/app/main/__init__.py

13 lines
229 B
Python
Raw Normal View History

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