mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 11:24:18 +00:00
13 lines
229 B
Python
13 lines
229 B
Python
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)
|