1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Prevent time travelers to register in the note

This commit is contained in:
Yohann D'ANELLO
2020-08-15 21:30:08 +02:00
parent 14b969b2dd
commit 5f8c4a2857
4 changed files with 457 additions and 423 deletions

View File

@ -72,7 +72,7 @@ class Profile(models.Model):
]
)
promotion = models.PositiveIntegerField(
promotion = models.PositiveSmallIntegerField(
null=True,
default=datetime.date.today().year,
verbose_name=_("promotion"),