mirror of https://gitlab.crans.org/bde/nk20
BooleanField -> CharField (a locale name is not a boolean)
This commit is contained in:
parent
c50fdd6689
commit
f5f379e6ad
|
@ -92,10 +92,11 @@ class Profile(models.Model):
|
|||
default=False,
|
||||
)
|
||||
|
||||
ml_events_registration = models.BooleanField(
|
||||
ml_events_registration = models.CharField(
|
||||
blank=True,
|
||||
null=True,
|
||||
default=None,
|
||||
max_length=2,
|
||||
choices=[
|
||||
(None, _("No")),
|
||||
('fr', _("Yes (receive them in french)")),
|
||||
|
|
Loading…
Reference in New Issue