From 9fc719214f1f341d348d7e3dca126013cddce0ab Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 5 Mar 2021 14:11:49 -0800 Subject: [PATCH] Renamed ReportType to TipType --- vaccinate/core/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vaccinate/core/models.py b/vaccinate/core/models.py index 57ecb7f..29b3945 100644 --- a/vaccinate/core/models.py +++ b/vaccinate/core/models.py @@ -451,7 +451,7 @@ class CallRequest(models.Model): For example, if a bug in an app has us call a location repeatedly, we have the full record of why those calls were made. """ - class ReportType(models.TextChoices): + class TipType(models.TextChoices): EVA = "eva_report", "Eva report" SCOOBY = "scooby_report", "Scooby report" DATA_CORRECTIONS = "data_corrections_report", "Data corrections report" @@ -483,7 +483,7 @@ class ReportType(models.TextChoices): ) tip_type = CharTextField( - choices=ReportType.choices, + choices=TipType.choices, blank=True, null=True, help_text=" the type of tip that prompted this call request, if any",