forked from DGNum/gestioCOF
Clipper logins may be > 8 characters
This commit is contained in:
parent
387edd2fd5
commit
51f4bf3fb5
5 changed files with 27 additions and 19 deletions
|
@ -38,7 +38,9 @@ TYPE_COMMENT_FIELD = (
|
|||
@python_2_unicode_compatible
|
||||
class CofProfile(models.Model):
|
||||
user = models.OneToOneField(User, related_name="profile")
|
||||
login_clipper = models.CharField("Login clipper", max_length=8, blank=True)
|
||||
login_clipper = models.CharField(
|
||||
"Login clipper", max_length=32, blank=True
|
||||
)
|
||||
is_cof = models.BooleanField("Membre du COF", default=False)
|
||||
num = models.IntegerField("Numéro d'adhérent", blank=True, default=0)
|
||||
phone = models.CharField("Téléphone", max_length=20, blank=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue