[PATCH] models: Series plural name is Series

Philippe Pepiot philippe.pepiot at logilab.fr
Thu May 4 19:45:04 AEST 2017


By default django use verbose_name + s which lead 'Seriess'
displayed in admin interface.

Signed-off-by: Philippe Pepiot <philippe.pepiot at logilab.fr>
---
 patchwork/models.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/patchwork/models.py b/patchwork/models.py
index a336219..495bbcd 100644
--- a/patchwork/models.py
+++ b/patchwork/models.py
@@ -663,6 +663,7 @@ class Series(models.Model):
 
     class Meta:
         ordering = ('date',)
+        verbose_name_plural = 'Series'
 
 
 @python_2_unicode_compatible
-- 
2.1.4


More information about the Patchwork mailing list