Re: simplelazyobject breaks code

2009-10-19 Thread Eric Holscher
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

simplelazyobject breaks code

2009-10-19 Thread ozgurisil
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