aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/register/migrations/0005_auto_20201019_0928.py24
-rw-r--r--ctrack/register/models.py2
2 files changed, 25 insertions, 1 deletions
diff --git a/ctrack/register/migrations/0005_auto_20201019_0928.py b/ctrack/register/migrations/0005_auto_20201019_0928.py
new file mode 100644
index 0000000..ed6f6b5
--- /dev/null
+++ b/ctrack/register/migrations/0005_auto_20201019_0928.py
@@ -0,0 +1,24 @@
+# Generated by Django 3.1.2 on 2020-10-19 09:28
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('organisations', '0002_auto_20201015_1955'),
+ ('register', '0004_auto_20201017_1958'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='singledatetimeevent',
+ name='participants',
+ field=models.ManyToManyField(to='organisations.Person'),
+ ),
+ migrations.AlterField(
+ model_name='singledatetimeevent',
+ name='type_descriptor',
+ field=models.CharField(choices=[('MEETING', 'Meeting'), ('PHONE_CALL', 'Phone Call'), ('VIDEO_CALL', 'Video Call'), ('EMAIL', 'Email'), ('NOTE', 'Note')], max_length=50, verbose_name='Event Type'),
+ ),
+ ]
diff --git a/ctrack/register/models.py b/ctrack/register/models.py
index 2154a11..45ee99e 100644
--- a/ctrack/register/models.py
+++ b/ctrack/register/models.py
@@ -88,7 +88,7 @@ class EventBase(AuditableEventBase):
class ThirdPartyEventMixin(models.Model):
- participants = models.ManyToManyField(Person, blank=True)
+ participants = models.ManyToManyField(Person, blank=False)
location = models.CharField(
max_length=100,
blank=True,