1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-08-06 23:19:38 +02:00

Make section optinal for an user

This commit is contained in:
Alexandre Iooss
2019-07-16 13:54:32 +02:00
parent 7043ab5e45
commit 8a44f81d2c
4 changed files with 9 additions and 8 deletions

View File

@@ -30,12 +30,13 @@ class Profile(models.Model):
max_length=50,
blank=True,
null=True,
default='',
)
section = models.CharField(
verbose_name=_('section'),
help_text=_('e.g. "1A0", "9A♥", "SAPHIRE"'),
max_length=255,
blank=True,
null=True,
)
address = models.CharField(
verbose_name=_('address'),