Created
May 21, 2012 19:54
-
-
Save ngokevin/2764271 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
1 import jinja2 | |
2 | |
3 from jingo import register | |
4 | |
5 from mkt.stats.views import check_stats_permission | |
6 | |
7 | |
8 @register.function | |
9 @jinja2.contextfunction | |
10 def check_stats_perms(request, addon, for_contributions=True): | |
11 return check_stats_permission(request, addon, for_contributions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment