diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-11 17:24:54 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-11 17:24:54 +0100 |
commit | 65b22a3bd3f392422fb2ec9fffc51b70d20cc5aa (patch) | |
tree | e996501f6fc647a54a67f9117a8145776ce18f80 /ctrack/register/models.py | |
parent | 61e4e92cf683520eb53b4c1d1889f3256a8b754b (diff) |
fleshed out more testing
Diffstat (limited to '')
-rw-r--r-- | ctrack/register/models.py | 6 |
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"), |