Commit f5046c44 authored by Nicolas Joyard's avatar Nicolas Joyard

Enlarge group name field

parent fe6bc4b4
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('representatives', '0017_auto_20160623_2201'),
]
operations = [
migrations.AlterField(
model_name='group',
name='name',
field=models.CharField(max_length=511, db_index=True),
),
]
......@@ -174,7 +174,7 @@ class Group(HashableModel, TimeStampedModel):
"""
An entity represented by a representative through a mandate
"""
name = models.CharField(max_length=255, db_index=True)
name = models.CharField(max_length=511, db_index=True)
abbreviation = models.CharField(max_length=10, blank=True, default='',
db_index=True)
kind = models.CharField(max_length=255, db_index=True)
......
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