mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-04 12:52:18 +02:00
ZIP code can be larger than 32767
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -139,7 +139,7 @@ class ParticipantRegistration(Registration):
|
||||
verbose_name=_("address"),
|
||||
)
|
||||
|
||||
zip_code = models.PositiveSmallIntegerField(
|
||||
zip_code = models.PositiveIntegerField(
|
||||
verbose_name=_("zip code"),
|
||||
validators=[MinValueValidator(1000), MaxValueValidator(99999)],
|
||||
)
|
||||
|
Reference in New Issue
Block a user