add verbose_names for state and county
This commit is contained in:
parent
f6ef9ea4ca
commit
e1241a49fd
|
@ -16,8 +16,8 @@ class Feature(models.Model):
|
||||||
url = models.CharField(max_length=512, unique=True, verbose_name="URI")
|
url = models.CharField(max_length=512, unique=True, verbose_name="URI")
|
||||||
preferred_name = models.CharField(max_length=512)
|
preferred_name = models.CharField(max_length=512)
|
||||||
feature_type = models.ForeignKey("FeatureType", null=True, blank=True)
|
feature_type = models.ForeignKey("FeatureType", null=True, blank=True)
|
||||||
admin1 = models.CharField(max_length=2, blank=True)
|
admin1 = models.CharField(max_length=2, blank=True, verbose_name="State")
|
||||||
admin2 = models.CharField(max_length=255, blank=True)
|
admin2 = models.CharField(max_length=255, blank=True, verbose_name="County")
|
||||||
geometry = models.GeometryField()
|
geometry = models.GeometryField()
|
||||||
is_primary = models.BooleanField(default=True)
|
is_primary = models.BooleanField(default=True)
|
||||||
time_frame = models.ForeignKey("TimeFrame", null=True, blank=True)
|
time_frame = models.ForeignKey("TimeFrame", null=True, blank=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user