mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-16 21:12:13 +00:00
Add needs_mic property to events
This commit is contained in:
@@ -378,6 +378,10 @@ class Event(models.Model, RevisionMixin):
|
|||||||
return f"N{self.pk:05d}"
|
return f"N{self.pk:05d}"
|
||||||
return self.pk
|
return self.pk
|
||||||
return "????"
|
return "????"
|
||||||
|
|
||||||
|
@property
|
||||||
|
def needs_mic(self):
|
||||||
|
return self.is_rig and not self.dry_hire
|
||||||
|
|
||||||
# Calculated values
|
# Calculated values
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user