diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:25:39 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:25:39 +0100 |
commit | f525235e942f560be3ed054bc968245ae2a5c2c2 (patch) | |
tree | cdd6286f02d68a93f2e735b939bb2978eec0d6d8 /expo/models.py | |
parent | 7aee3fb920a1477332d78c8f3fb546da428be6e8 (diff) | |
download | troggle-f525235e942f560be3ed054bc968245ae2a5c2c2.tar.gz troggle-f525235e942f560be3ed054bc968245ae2a5c2c2.tar.bz2 troggle-f525235e942f560be3ed054bc968245ae2a5c2c2.zip |
[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
Diffstat (limited to 'expo/models.py')
-rw-r--r-- | expo/models.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/expo/models.py b/expo/models.py index 69f9549..324d478 100644 --- a/expo/models.py +++ b/expo/models.py @@ -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.")
mug_shot = models.CharField(max_length=100, blank=True,null=True)
blurb = models.TextField(blank=True,null=True)
+ class Meta:
+ verbose_name_plural = "People"
def __unicode__(self):
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)
place = models.CharField(max_length=100,blank=True,null=True)
text = models.TextField()
-
+ class Meta:
+ verbose_name_plural = "LogbookEntries"
# several PersonTrips point in to this object
def __unicode__(self):
@@ -292,3 +295,4 @@ class Photo(models.Model): def __str__(self):
return self.caption
+
|