fix: Correction de l'affichage des numéros de téléphone [#41]

This commit is contained in:
Luc SORIGNET
2025-04-11 16:59:15 +02:00
parent a157d53932
commit 4f774c18e4
11 changed files with 125 additions and 174 deletions

View File

@ -11,13 +11,13 @@ from Subscriptions.models import (
)
from Auth.models import Profile, ProfileRole
from School.models import (
FeeType,
Speciality,
Teacher,
SchoolClass,
PaymentMode,
PaymentModeType,
PaymentPlan,
FeeType,
Speciality,
Teacher,
SchoolClass,
PaymentMode,
PaymentModeType,
PaymentPlan,
PaymentPlanType,
DiscountType
)
@ -371,7 +371,7 @@ class Command(BaseCommand):
"first_name": fake.first_name(),
"birth_date": fake.date_of_birth().strftime('%Y-%m-%d'),
"address": fake.address(),
"phone": fake.phone_number(),
"phone":"+33122334455",
"profession": fake.job()
}

View File

@ -231,7 +231,7 @@ class RegistrationTemplate(models.Model):
def __str__(self):
return self.name
@staticmethod
def get_files_from_rf(register_form_id):
"""