From e1241a49fdd3fd970ebba049b0987ec563654ea9 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 28 Aug 2011 04:26:22 +0530 Subject: [PATCH] add verbose_names for state and county --- gazetteer/places/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gazetteer/places/models.py b/gazetteer/places/models.py index a3e8416..0a2dda3 100644 --- a/gazetteer/places/models.py +++ b/gazetteer/places/models.py @@ -16,8 +16,8 @@ class Feature(models.Model): url = models.CharField(max_length=512, unique=True, verbose_name="URI") preferred_name = models.CharField(max_length=512) feature_type = models.ForeignKey("FeatureType", null=True, blank=True) - admin1 = models.CharField(max_length=2, blank=True) - admin2 = models.CharField(max_length=255, blank=True) + admin1 = models.CharField(max_length=2, blank=True, verbose_name="State") + admin2 = models.CharField(max_length=255, blank=True, verbose_name="County") geometry = models.GeometryField() is_primary = models.BooleanField(default=True) time_frame = models.ForeignKey("TimeFrame", null=True, blank=True)