Permalink
Browse files

Update status numbers.

  • Loading branch information...
1 parent 4d6e057 commit bb7ad6987a51ff022cfdbb6f3688ea94ae3bcf04 @alex alex committed Oct 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 friends/managers.py
View
2 friends/managers.py
@@ -36,7 +36,7 @@ def remove(self, user1, user2):
class FriendshipInvitationManager(models.Manager):
def invitations(self, *args, **kwargs):
- return self.filter(*args, **kwargs).exclude(status__in=[6, 8])
+ return self.filter(*args, **kwargs).exclude(status__in=(5, 6, 7))
def create_friendship_request(self, from_user, to_user, msg=None):
inv = self.create(from_user=from_user, to_user=to_user,

0 comments on commit bb7ad69

Please sign in to comment.