]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
models: Series plural name is Series
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 4 May 2017 09:45:04 +0000 (11:45 +0200)
committerStephen Finucane <stephen@that.guru>
Thu, 4 May 2017 10:30:51 +0000 (11:30 +0100)
By default django use verbose_name + s which lead 'Seriess'
displayed in admin interface.

Signed-off-by: Philippe Pepiot <philippe.pepiot@logilab.fr>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/models.py

index a336219aeff53381170e2d3a15869d22f795bf1c..495bbcd5de92ad70d47e6cc5bea159fb322d78ae 100644 (file)
@@ -663,6 +663,7 @@ class Series(models.Model):
 
     class Meta:
         ordering = ('date',)
+        verbose_name_plural = 'Series'
 
 
 @python_2_unicode_compatible