Extended CorpContact.email field

This commit is contained in:
Claude Paroz 2016-01-15 20:30:29 +01:00
parent 894cc172a8
commit d76e1bf4d3
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-01-15 20:28
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stages', '0004_corpcontact_sections'),
]
operations = [
migrations.AlterField(
model_name='corpcontact',
name='email',
field=models.CharField(blank=True, max_length=100, verbose_name='Courriel'),
),
]

View file

@ -150,7 +150,7 @@ class CorpContact(models.Model):
last_name = models.CharField(max_length=40, verbose_name='Nom')
role = models.CharField(max_length=40, verbose_name='Fonction', blank=True)
tel = models.CharField(max_length=20, blank=True, verbose_name='Téléphone')
email = models.CharField(max_length=40, blank=True, verbose_name='Courriel')
email = models.CharField(max_length=100, blank=True, verbose_name='Courriel')
class Meta:
verbose_name = "Contact"