From 9906e46b71efe34f90f2a814940fbef7d5e56e14 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Wed, 31 Aug 2011 11:16:06 +0200 Subject: [PATCH] Refer to feature types by their names alone. --- gazetteer/places/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gazetteer/places/models.py b/gazetteer/places/models.py index 367de31..fe6f715 100644 --- a/gazetteer/places/models.py +++ b/gazetteer/places/models.py @@ -57,7 +57,7 @@ class Feature(models.Model): return self.preferred_name def feature_type_name(self): - return "%s: %s" % (self.feature_type.code, self.feature_type.name,) + return self.feature_type.name.title() feature_type_name.short_description = "Feature Type" def get_geojson(self):