adamspd / django-appointment

A Django app for managing appointment scheduling with ease and flexibility.
Apache License 2.0
170 stars 41 forks source link

Full name bug and get_client_email function from doc is missing. #42

Closed adamspd closed 11 months ago

adamspd commented 12 months ago

Describe the bug

apt = Appointment.objects.get(id=id) apt.get_client_name() returns only first name on cases where last name exist also

In Appointment model, no get_client_email method is defined.

Expected behavior Full name returned

Screenshots

image

Can you fix the bug?

adamspd commented 12 months ago

It might be that the user.get_full_name implementation of the settings.AUTH_USER_MODEL was not well defined.

adamspd commented 11 months ago

get_full_name function in the user model was defined to not send full_name in the project I used the package.