Skip to content
Extraits de code Groupes Projets
Valider f5046c44 rédigé par Nicolas Joyard's avatar Nicolas Joyard
Parcourir les fichiers

Enlarge group name field

parent fe6bc4b4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
# -*- 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): ...@@ -174,7 +174,7 @@ class Group(HashableModel, TimeStampedModel):
""" """
An entity represented by a representative through a mandate 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='', abbreviation = models.CharField(max_length=10, blank=True, default='',
db_index=True) db_index=True)
kind = models.CharField(max_length=255, db_index=True) kind = models.CharField(max_length=255, db_index=True)
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter