Commit 366b88ad authored by Gabriel Detraz's avatar Gabriel Detraz Committed by root

Fix mail vide

parent fa55b8f2
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-11-14 22:03
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0008_auto_20170705_0001'),
]
operations = [
migrations.AlterField(
model_name='user',
name='email',
field=models.EmailField(max_length=254),
),
]
......@@ -82,7 +82,7 @@ class User(AbstractBaseUser):
name = models.CharField(max_length=255)
surname = models.CharField(max_length=255)
email = models.EmailField(null=True, blank=True)
email = models.EmailField()
telephone = models.CharField(max_length=15, null=True, blank=True)
adresse = models.CharField(max_length=255, null=True, blank=True)
maxemprunt = models.IntegerField(default=MAX_EMPRUNT, help_text="Maximum d'emprunts autorisés")
......
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