mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Add new line functionality for vehicles/drivers
Might it have been easier to create 'dummy' models like with EventItems? Probably...
This commit is contained in:
@@ -646,7 +646,7 @@ class EventChecklist(models.Model, RevisionMixin):
|
||||
event = models.OneToOneField('Event', on_delete=models.CASCADE)
|
||||
|
||||
# General
|
||||
power_mic = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='checklist', blank=True, null=True,
|
||||
power_mic = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='checklist',
|
||||
verbose_name="Power MIC", on_delete=models.CASCADE, help_text="Who is the Power MIC?")
|
||||
vehicles = models.JSONField(help_text="List vehicles and their drivers", default=dict, null=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user