old_contents: from flask import Blueprint
  main = Blueprint('main', __name__)
  from . import views, errors
  from ..models import Permission
  from . import cache
  
  @main.app_context_processor
  def inject_permissions():
      return dict(Permission=Permission)
  
new_contents: from flask import Blueprint
  main = Blueprint('main', __name__)
  from . import views, errors
  from ..models import Permission
  
  @main.app_context_processor
  def inject_permissions():
      return dict(Permission=Permission)
  
subject: Update __init__.py