add nice verbose_names

This commit is contained in:
Sanj 2012-06-14 01:27:01 +05:30
parent 9356254ce4
commit f47f8617d9

View File

@ -38,12 +38,19 @@ class Fort(AreaModel):
class HillForest(AreaModel):
pass
class Meta:
verbose_name_plural = "Hills and Forests"
verbose_name = "Hill / Forest"
class Waterfront(AreaModel):
pass
class Beach(AreaModel):
pass
class Meta:
verbose_name_plural = "Beaches"
class DevelopmentModel(BaseModel):
pk_serial = models.IntegerField(null=True, blank=True)
name = models.CharField(max_length=1024, blank=True)
@ -63,9 +70,18 @@ class River(DevelopmentModel):
class CreekWetland(DevelopmentModel):
pass
class Meta:
verbose_name = "Creek / Wetland"
verbose_name_plural = "Creeks and Wetlands"
class WaterBody(DevelopmentModel):
pass
class Meta:
verbose_name = "Water body"
verbose_name_plural = "Water bodies"
class Nullah(DevelopmentModel):
pass