Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change le champ "phone" en textField pour permettre l'import Excel #468

Merged
merged 1 commit into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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