increase contact email field size (#9164)

This commit is contained in:
Serghei Mihai 2015-12-01 11:44:17 +01:00
parent 2f9fd0714c
commit c6813aebe4
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('passerelle_montpellier_encombrants', '0007_auto_20150915_1014'),
]
operations = [
migrations.AlterField(
model_name='sector',
name='contact_email',
field=models.CharField(help_text='separated by commas', max_length=1024, verbose_name='Contact Emails', blank=True),
preserve_default=True,
),
]

View File

@ -43,7 +43,7 @@ class EncombrantsManagement(BaseResource):
class Sector(models.Model):
contact_email = models.CharField(max_length=128, blank=True,
contact_email = models.CharField(max_length=1024, blank=True,
verbose_name=_('Contact Emails'),
help_text=_('separated by commas'))