Created
March 3, 2020 15:29
-
-
Save Porter97/9b4995916e23038a98041dc3bc61eb87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#... | |
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