aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/models.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-11 17:24:54 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-11 17:24:54 +0100
commit65b22a3bd3f392422fb2ec9fffc51b70d20cc5aa (patch)
treee996501f6fc647a54a67f9117a8145776ce18f80 /ctrack/register/models.py
parent61e4e92cf683520eb53b4c1d1889f3256a8b754b (diff)
fleshed out more testing
Diffstat (limited to '')
-rw-r--r--ctrack/register/models.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/ctrack/register/models.py b/ctrack/register/models.py
index 673d9e0..d421efb 100644
--- a/ctrack/register/models.py
+++ b/ctrack/register/models.py
@@ -112,6 +112,7 @@ class CAFMixin(models.Model):
class SingleDateTimeEvent(EventBase, ThirdPartyEventMixin, SingleDateTimeEventMixin):
AVAILABLE_TYPES = [
+ (EventType.MEETING.name, "Meeting"),
(EventType.PHONE_CALL.name, "Phone Call"),
(EventType.VIDEO_CALL.name, "Video Call"),
]
@@ -121,11 +122,6 @@ class SingleDateTimeEvent(EventBase, ThirdPartyEventMixin, SingleDateTimeEventMi
return self.type_descriptor
-class MeetingEvent(EventBase, ThirdPartyEventMixin, SingleDateTimeEventMixin):
- AVAILABLE_TYPES = [(EventType.MEETING.name, "Meeting")]
- type_descriptor = models.CharField(max_length=50, choices=AVAILABLE_TYPES)
-
-
class CAFSingleDateEvent(EventBase, CAFMixin, SingleDateMixin):
AVAILABLE_TYPES = [
(EventType.CAF_INITIAL_CAF_RECEIVED.name, "CAF - Initial CAF Received"),