Refer to feature types by their names alone.
This commit is contained in:
parent
6c7fee843c
commit
9906e46b71
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user