From 2cd57a3ffb57afefe61d0a42df550827e5edc35b Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Tue, 28 Feb 2017 11:54:48 +0100 Subject: [PATCH] appointment has list of examination types --- smash/web/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smash/web/models.py b/smash/web/models.py index f6fd6fd6..f3c85fd8 100644 --- a/smash/web/models.py +++ b/smash/web/models.py @@ -429,8 +429,8 @@ class Appointment(models.Model): verbose_name='Worker conducting the assessment (if applicable)', null=True, blank=True ) - appointment_type = models.ForeignKey(AppointmentType, - verbose_name='Appointment type', + appointment_types = models.ManyToManyField(AppointmentType, + verbose_name='Appointment types', null=True, blank=True ) room = models.ForeignKey(Room, -- GitLab