From 3a6db2117ac430fab6ca20c4067ba60c030cd7f9 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 29 May 2020 16:21:22 +0100 Subject: added dft handle status --- ctrack/organisations/models.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ctrack/organisations/models.py') diff --git a/ctrack/organisations/models.py b/ctrack/organisations/models.py index 2dd798c..270ebd6 100644 --- a/ctrack/organisations/models.py +++ b/ctrack/organisations/models.py @@ -184,6 +184,12 @@ class Stakeholder(models.Model): class IncidentReport(models.Model): + DFT_HANDLE_STATUS = ( + ("queued", "QUEUED"), + ("reviewing", "REVIEWING"), + ("waiting", "WAITING"), + ("completed", "COMPLETE"), + ) INCIDENT_TYPES = ( ("cyber", "Cyber"), ("non-cyber", "Non-Cyber"), @@ -245,3 +251,9 @@ class IncidentReport(models.Model): next_steps = models.TextField( verbose_name="Planned next steps", help_text="What are your planned next steps?" ) + dft_handle_status = models.CharField( + choices=DFT_HANDLE_STATUS, max_length=20, default="queued" + ) + + def __str__(self): + return f"{self.reporting_person} - {self.date_time_incident_reported}" -- cgit v1.2.3