Issue 72: sqlite3 "unable to close due to.." error
http://code.google.com/p/django-hotclub/issues/detail?id=72

Comment #2 by ericdrex:
hmm I tried rewriting the above function as

     def are_friends(self, user1, user2):
         if self.filter((Q(from_user=user1) & Q(to_user=user2))
                      | (Q(from_user=user2) & Q(to_user=user1))
         ).count() > 0:
             return True
         return False

but still get the same error.



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to