Commit ebc22e22 authored by Arkadiusz Hiler's avatar Arkadiusz Hiler
Browse files

Order Series by ID by default



Newer versions of django complain if you paginate unordered results.
Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent e9b11355
# -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2018-01-16 00:44
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('patchwork', '0026_event_series_not_mandatory'),
]
operations = [
migrations.AlterModelOptions(
name='series',
options={'ordering': ['-id'], 'verbose_name_plural': 'Series'},
),
]
......@@ -577,6 +577,7 @@ class Series(models.Model):
class Meta:
verbose_name_plural = 'Series'
ordering = ["-id"]
# Signal one can listen to to know when a revision is complete (ie. has all of
......
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