mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-12-22 22:01:48 +01:00
Fix party invite 404
This commit is contained in:
parent
8c7918458a
commit
54c45832cc
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ class PartyQuerySet(models.QuerySet):
|
|||
return self.filter(
|
||||
Q(game_master=user)
|
||||
| Q(characters__in=Character.objects.filter(player=user))
|
||||
| Q(invited_characters__in=Character.objects.filter(player=user))
|
||||
).distinct()
|
||||
|
||||
def invited_to(self, user):
|
||||
|
|
Loading…
Reference in a new issue