From 85b5fbe34c358a6dbacc3e2550fedc9945a4558d Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sun, 25 Mar 2012 21:37:55 +0200 Subject: [PATCH] Add verbose names for start and end dates Per report from Devrim. --- pgweb/events/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pgweb/events/models.py b/pgweb/events/models.py index d86ba06f..b6d855b2 100644 --- a/pgweb/events/models.py +++ b/pgweb/events/models.py @@ -15,8 +15,8 @@ class Event(PgModel, models.Model): country = models.ForeignKey(Country, null=False, blank=False) training = models.BooleanField(null=False, blank=False, default=False) - startdate = models.DateField(null=False, blank=False) - enddate = models.DateField(null=False, blank=False) + startdate = models.DateField(null=False, blank=False, verbose_name="Start date") + enddate = models.DateField(null=False, blank=False, verbose_name="End date") summary = models.TextField(blank=False, null=False, help_text="A short introduction (shown on the events listing page)") details = models.TextField(blank=False, null=False, help_text="Complete event description") -- 2.39.5