mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-25 01:12:16 +00:00
curses!
This commit is contained in:
@@ -286,8 +286,8 @@ class EventManager(models.Manager):
|
|||||||
) & models.Q(invoice__isnull=True) & # Has not already been invoiced
|
) & models.Q(invoice__isnull=True) & # Has not already been invoiced
|
||||||
models.Q(is_rig=True) # Is a rig (not non-rig)
|
models.Q(is_rig=True) # Is a rig (not non-rig)
|
||||||
).order_by('start_date') \
|
).order_by('start_date') \
|
||||||
.select_related('person', 'organisation', 'venue', 'mic') \
|
.select_related('person', 'organisation', 'venue', 'mic') \
|
||||||
.prefetch_related('items')
|
.prefetch_related('items')
|
||||||
|
|
||||||
return events
|
return events
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user