These were missed in previous patches.

Signed-off-by: Stephen Finucane <step...@that.guru>
Fixes: 8585ea5af ("models: Use 'base_manager_name'")
Fixes: ed7328fdb ("models: Series plural name is Series")
---
 patchwork/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.14.3

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to