From d25f73ff06f3daa428e0e87f42b83d071a31cc02 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 18 Oct 2020 15:17:28 +0100 Subject: user-friendly name on form for type_descriptor --- ctrack/register/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctrack/register/models.py') 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): -- cgit v1.2.3