Went ahead and filed a ticket for this. If you would chime in with
your example it probably wouldn't hurt, but I will link to this thread
as well.
http://code.djangoproject.com/ticket/12060
Cheers,
Eric
--~--~-~--~~~---~--~~
You received this message because you a
Here's a template filter that has been working without problems till
recently, before I updated Django source:
from pm_core.models import PMUser
@register.filter
def can_manage_market(user, market):
if not isinstance(user, PMUser): return False
return user.can_manage_market(market)
The
2 matches
Mail list logo