forked from expo/troggle
[svn] Fix plurals because they're starting to get on my nerves!
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8095 by aaron @ 12/31/2008 5:07 PM
This commit is contained in:
parent
7aee3fb920
commit
f525235e94
@ -30,6 +30,8 @@ class Person(models.Model):
|
|||||||
is_vfho = models.BooleanField(help_text="VFHO is the Vereines für Höhlenkunde in Obersteier, a nearby Austrian caving club.")
|
is_vfho = models.BooleanField(help_text="VFHO is the Vereines für Höhlenkunde in Obersteier, a nearby Austrian caving club.")
|
||||||
mug_shot = models.CharField(max_length=100, blank=True,null=True)
|
mug_shot = models.CharField(max_length=100, blank=True,null=True)
|
||||||
blurb = models.TextField(blank=True,null=True)
|
blurb = models.TextField(blank=True,null=True)
|
||||||
|
class Meta:
|
||||||
|
verbose_name_plural = "People"
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return "%s %s" % (self.first_name, self.last_name)
|
return "%s %s" % (self.first_name, self.last_name)
|
||||||
|
|
||||||
@ -159,7 +161,8 @@ class LogbookEntry(models.Model):
|
|||||||
cave = models.ForeignKey(Cave,blank=True,null=True)
|
cave = models.ForeignKey(Cave,blank=True,null=True)
|
||||||
place = models.CharField(max_length=100,blank=True,null=True)
|
place = models.CharField(max_length=100,blank=True,null=True)
|
||||||
text = models.TextField()
|
text = models.TextField()
|
||||||
|
class Meta:
|
||||||
|
verbose_name_plural = "LogbookEntries"
|
||||||
# several PersonTrips point in to this object
|
# several PersonTrips point in to this object
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
@ -292,3 +295,4 @@ class Photo(models.Model):
|
|||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.caption
|
return self.caption
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user