1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-12-11 12:37:52 +01:00

Drop django-address dependency and keep only street, zip code and city (/!\ Breaking commit, can't upgrade)

This commit is contained in:
Emmy D'Anello
2023-01-10 20:24:06 +01:00
parent f7eddd289b
commit 63a10c1be5
21 changed files with 197 additions and 448 deletions

View File

@@ -4,7 +4,6 @@
from datetime import date
import os
from address.models import AddressField
from django.conf import settings
from django.core.exceptions import ValidationError
from django.core.validators import RegexValidator
@@ -143,7 +142,8 @@ class Tournament(models.Model):
default=date.today,
)
place = AddressField(
place = models.CharField(
max_length=255,
verbose_name=_("place"),
)