You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
222 B

  1. from flask import Blueprint
  2. main = Blueprint('main', __name__)
  3. from . import views, errors
  4. from ..models import Permission
  5. @main.app_context_processor
  6. def inject_permissions():
  7. return dict(Permission=Permission)