Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mediatek
Base de données Mediatek
Commits
366b88ad
Commit
366b88ad
authored
Nov 14, 2017
by
Gabriel Detraz
Committed by
root
Nov 14, 2017
Browse files
Fix mail vide
parent
fa55b8f2
Changes
2
Show whitespace changes
Inline
Side-by-side
users/migrations/0009_auto_20171114_2303.py
0 → 100644
View file @
366b88ad
# -*- 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
),
),
]
users/models.py
View file @
366b88ad
...
@@ -82,7 +82,7 @@ class User(AbstractBaseUser):
...
@@ -82,7 +82,7 @@ class User(AbstractBaseUser):
name
=
models
.
CharField
(
max_length
=
255
)
name
=
models
.
CharField
(
max_length
=
255
)
surname
=
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
)
telephone
=
models
.
CharField
(
max_length
=
15
,
null
=
True
,
blank
=
True
)
adresse
=
models
.
CharField
(
max_length
=
255
,
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"
)
maxemprunt
=
models
.
IntegerField
(
default
=
MAX_EMPRUNT
,
help_text
=
"Maximum d'emprunts autorisés"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment