]> git.parisson.com Git - django-google-tools.git/commitdiff
Adding a verbose name plural to make the admin show the proper plural
authorMichael Newman <newmaniese@gmail.com>
Sat, 24 Oct 2009 20:14:36 +0000 (04:14 +0800)
committerClint Ecker <clint@arstechnica.com>
Wed, 2 Dec 2009 21:56:58 +0000 (05:56 +0800)
google_analytics/models.py

index 6f477bf8593c6ed0ad432d5f626bfd793efdc22f..58e0eed551ad4dfe9333e54b766211afce5162b4 100644 (file)
@@ -8,3 +8,6 @@ class Analytics(models.Model):
 
     def __unicode__(self):
         return u"%s" % (self.analytics_code)
+    
+    class Meta:
+        verbose_name_plural = "Analytics"