diff --git a/ccdb/utils/migrations/0003_pluralize_admin_entries.py b/ccdb/utils/migrations/0003_pluralize_admin_entries.py new file mode 100644 index 0000000..aa45af9 --- /dev/null +++ b/ccdb/utils/migrations/0003_pluralize_admin_entries.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.9 on 2018-02-05 11:50 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('utils', '0002_initial_admin_enties'), + ] + + operations = [ + migrations.AlterModelOptions( + name='adminentry', + options={'verbose_name_plural': 'admin entries'}, + ), + ] diff --git a/ccdb/utils/models.py b/ccdb/utils/models.py index cedf3d6..c2d1483 100644 --- a/ccdb/utils/models.py +++ b/ccdb/utils/models.py @@ -24,3 +24,6 @@ class AdminEntry(models.Model): def __str__(self): return "%s %s" % (self.package, self.model) + + class Meta: + verbose_name_plural = 'admin entries'