make it optional to specify speaker_event conflicts
This commit is contained in:
parent
c8dee63751
commit
6b4d8e0790
23
src/program/migrations/0099_alter_speaker_event_conflicts.py
Normal file
23
src/program/migrations/0099_alter_speaker_event_conflicts.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 3.2.5 on 2021-08-15 20:03
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("program", "0098_auto_20200811_1015"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="speaker",
|
||||
name="event_conflicts",
|
||||
field=models.ManyToManyField(
|
||||
blank=True,
|
||||
help_text="The Events this person wishes to attend. The AutoScheduler will avoid conflicts.",
|
||||
related_name="speaker_conflicts",
|
||||
to="program.Event",
|
||||
),
|
||||
),
|
||||
]
|
|
@ -1540,6 +1540,7 @@ class Speaker(CampRelatedModel):
|
|||
event_conflicts = models.ManyToManyField(
|
||||
"program.Event",
|
||||
related_name="speaker_conflicts",
|
||||
blank=True,
|
||||
help_text="The Events this person wishes to attend. The AutoScheduler will avoid conflicts.",
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue