Skip to content

Instantly share code, notes, and snippets.

@Porter97
Created March 3, 2020 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Porter97/9b4995916e23038a98041dc3bc61eb87 to your computer and use it in GitHub Desktop.
Save Porter97/9b4995916e23038a98041dc3bc61eb87 to your computer and use it in GitHub Desktop.
#...
from ..models import Permission
@main.app_context_processor
def inject_permissions():
return dict(Permission=Permission)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment