Commit 0cbb1722 authored by Damien Lespiau's avatar Damien Lespiau
Browse files

series: Add a plural form for series



That makes the admin interface nicer to read instead of 'Seriess'.
Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
parent 1d491686
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('patchwork', '0016_add_delegation_rule_model'),
]
operations = [
migrations.AlterModelOptions(
name='series',
options={'verbose_name_plural': 'Series'},
),
]
......@@ -556,6 +556,9 @@ class Series(models.Model):
def __str__(self):
return self.name
class Meta:
verbose_name_plural = 'Series'
# Signal one can listen to to know when a revision is complete (ie. has all of
# its patches)
series_revision_complete = django.dispatch.Signal(providing_args=["revision"])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment