add nice verbose_names
This commit is contained in:
parent
9356254ce4
commit
f47f8617d9
|
@ -38,12 +38,19 @@ class Fort(AreaModel):
|
||||||
class HillForest(AreaModel):
|
class HillForest(AreaModel):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
verbose_name_plural = "Hills and Forests"
|
||||||
|
verbose_name = "Hill / Forest"
|
||||||
|
|
||||||
class Waterfront(AreaModel):
|
class Waterfront(AreaModel):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class Beach(AreaModel):
|
class Beach(AreaModel):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
verbose_name_plural = "Beaches"
|
||||||
|
|
||||||
class DevelopmentModel(BaseModel):
|
class DevelopmentModel(BaseModel):
|
||||||
pk_serial = models.IntegerField(null=True, blank=True)
|
pk_serial = models.IntegerField(null=True, blank=True)
|
||||||
name = models.CharField(max_length=1024, blank=True)
|
name = models.CharField(max_length=1024, blank=True)
|
||||||
|
@ -63,9 +70,18 @@ class River(DevelopmentModel):
|
||||||
class CreekWetland(DevelopmentModel):
|
class CreekWetland(DevelopmentModel):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
verbose_name = "Creek / Wetland"
|
||||||
|
verbose_name_plural = "Creeks and Wetlands"
|
||||||
|
|
||||||
|
|
||||||
class WaterBody(DevelopmentModel):
|
class WaterBody(DevelopmentModel):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
verbose_name = "Water body"
|
||||||
|
verbose_name_plural = "Water bodies"
|
||||||
|
|
||||||
class Nullah(DevelopmentModel):
|
class Nullah(DevelopmentModel):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user