Commit b3282b30 authored by Jamesie Pic's avatar Jamesie Pic

Order Mandates by name by default

parent aaa50edc
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('representatives', '0010_index_group_kind_and_abbreviation'),
]
operations = [
migrations.AlterModelOptions(
name='group',
options={'ordering': ('name',)},
),
]
......@@ -171,6 +171,9 @@ class Group(HashableModel, TimeStampedModel):
def __unicode__(self):
return unicode(self.name)
class Meta:
ordering = ('name',)
class Constituency(HashableModel, TimeStampedModel):
"""
......
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