Skip to content

Commit

Permalink
Change le champ "phone" en textField pour permettre l'import Excel #468
Browse files Browse the repository at this point in the history
  • Loading branch information
tut-tuuut authored Nov 23, 2021
2 parents bd029e7 + 6b542d0 commit b6dd9fb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions aidants_connect_web/migrations/0078_auto_20211122_1813.py
Original file line number Diff line number Diff line change
@@ -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"),
),
]
2 changes: 1 addition & 1 deletion aidants_connect_web/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b6dd9fb

Please sign in to comment.