Skip to content
Extraits de code Groupes Projets
Valider b2762ca5 rédigé par Jamesie Pic's avatar Jamesie Pic
Parcourir les fichiers

Index Group.name

parent 40529c54
Branches
Étiquettes
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', '0011_auto_20151226_1938'),
]
operations = [
migrations.AlterField(
model_name='group',
name='name',
field=models.CharField(max_length=255, db_index=True),
),
]
......@@ -162,7 +162,7 @@ class Group(HashableModel, TimeStampedModel):
"""
An entity represented by a representative through a mandate
"""
name = models.CharField(max_length=255)
name = models.CharField(max_length=255, db_index=True)
abbreviation = models.CharField(max_length=10, blank=True, default='',
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.
Veuillez vous inscrire ou vous pour commenter