diff --git a/aidants_connect_web/migrations/0078_auto_20211122_1813.py b/aidants_connect_web/migrations/0078_auto_20211122_1813.py new file mode 100644 index 000000000..dc6b62d69 --- /dev/null +++ b/aidants_connect_web/migrations/0078_auto_20211122_1813.py @@ -0,0 +1,18 @@ +# Generated by Django 3.1.13 on 2021-11-22 17:13 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("aidants_connect_web", "0077_aidant_phone"), + ] + + operations = [ + migrations.AlterField( + model_name="aidant", + name="phone", + field=models.TextField(blank=True, verbose_name="Téléphone"), + ), + ] diff --git a/aidants_connect_web/models.py b/aidants_connect_web/models.py index a091680bd..4376391fe 100644 --- a/aidants_connect_web/models.py +++ b/aidants_connect_web/models.py @@ -147,7 +147,7 @@ def create_superuser(self, username, email=None, password=None, **extra_fields): class Aidant(AbstractUser): profession = models.TextField(blank=False) - phone = PhoneNumberField("Téléphone", blank=True) + phone = models.TextField("Téléphone", blank=True) organisation = models.ForeignKey( Organisation,