From ad494ed34608834cd942491a298a77bf679d8b4d Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 9 Feb 2018 11:52:05 +0000 Subject: [PATCH] migrations: Add missing Series.Meta, Patch.Meta changes These were missed in previous patches. Signed-off-by: Stephen Finucane Fixes: 8585ea5af ("models: Use 'base_manager_name'") Fixes: ed7328fdb ("models: Series plural name is Series") --- .../migrations/0021_django_1_10_fixes.py | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 patchwork/migrations/0021_django_1_10_fixes.py diff --git a/patchwork/migrations/0021_django_1_10_fixes.py b/patchwork/migrations/0021_django_1_10_fixes.py new file mode 100644 index 00000000..55aedbec --- /dev/null +++ b/patchwork/migrations/0021_django_1_10_fixes.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +import django +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('patchwork', '0020_tag_show_column'), + ] + + operations = [ + migrations.AlterModelOptions( + name='series', + options={'ordering': ('date',), 'verbose_name_plural': 'Series'}, + ), + ] + + if django.VERSION >= (1, 10): + operations += [ + migrations.AlterModelOptions( + name='patch', + options={'base_manager_name': 'objects', 'verbose_name_plural': 'Patches'}, + ), + ] -- 2.47.3