forked from DGNum/gestioCOF
fix reinit
This commit is contained in:
parent
5e848e4442
commit
7ec6d23987
3 changed files with 5 additions and 2 deletions
|
@ -68,7 +68,7 @@ class AnnulForm(forms.Form):
|
|||
self.fields['attributions'].queryset = participant.attribution_set\
|
||||
.filter(spectacle__date__gte=timezone.now(),
|
||||
revente__isnull=False,
|
||||
revente__date__gte=timezone.now()-timedelta(hours=1))\
|
||||
revente__date__gt=timezone.now()-timedelta(hours=1))\
|
||||
.filter(Q(revente__soldTo__isnull=True) |
|
||||
Q(revente__soldTo=participant))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue