aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-10-18 15:17:28 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-10-18 15:17:28 +0100
commitd25f73ff06f3daa428e0e87f42b83d071a31cc02 (patch)
tree423b0b81d52a8768d538e76f4505fd646921d798 /ctrack/register
parentfed4b3157f25f65ccdaa5fd41463995a080d4673 (diff)
user-friendly name on form for type_descriptor
Diffstat (limited to 'ctrack/register')
-rw-r--r--ctrack/register/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/register/models.py b/ctrack/register/models.py
index 11e4a6b..2154a11 100644
--- a/ctrack/register/models.py
+++ b/ctrack/register/models.py
@@ -185,7 +185,7 @@ class SingleDateTimeEvent(
(EventType.NOTE.name, "Note"),
]
type_descriptor = models.CharField(
- blank=False, max_length=50, choices=AVAILABLE_TYPES
+ blank=False, max_length=50, choices=AVAILABLE_TYPES, verbose_name="Event Type"
)
def __str__(self):