mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-26 06:32:26 +00:00
Augmente la valeur de l'alias
This commit is contained in:
parent
c942d87256
commit
857e20045a
2 changed files with 2 additions and 3 deletions
|
@ -35,7 +35,7 @@ class Migration(migrations.Migration):
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='mailalias',
|
model_name='mailalias',
|
||||||
name='valeur',
|
name='valeur',
|
||||||
field=models.CharField(help_text="Valeur de l'alias mail", max_length=64, unique=True),
|
field=models.CharField(help_text="Valeur de l'alias mail", max_length=128, unique=True),
|
||||||
),
|
),
|
||||||
migrations.RunPython(transfer_pseudo, untransfer_pseudo),
|
migrations.RunPython(transfer_pseudo, untransfer_pseudo),
|
||||||
]
|
]
|
||||||
|
|
|
@ -938,7 +938,6 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser,
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.pseudo
|
return self.pseudo
|
||||||
|
|
||||||
|
|
||||||
class Adherent(User):
|
class Adherent(User):
|
||||||
""" A class representing a member (it's a user with special
|
""" A class representing a member (it's a user with special
|
||||||
informations) """
|
informations) """
|
||||||
|
@ -1645,7 +1644,7 @@ class MailAlias(RevMixin, AclMixin, models.Model):
|
||||||
)
|
)
|
||||||
valeur = models.CharField(
|
valeur = models.CharField(
|
||||||
unique=True,
|
unique=True,
|
||||||
max_length=64,
|
max_length=128,
|
||||||
help_text="Valeur de l'alias mail"
|
help_text="Valeur de l'alias mail"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue