ConoscereLinux / asso-django

An open source Django Framework to manage Events, Member and basic Accounting for an Italian Association
GNU General Public License v3.0
0 stars 3 forks source link

Create a field for Phone Numbers (or use a library) #82

Open giobber opened 11 months ago

giobber commented 11 months ago

For reference: https://django-phonenumber-field.readthedocs.io/en/latest/index.html

VidyaYadavv1519 commented 11 months ago

Hii Can you assign me this issue ??

giobber commented 11 months ago

Yeah, thank you

VidyaYadavv1519 commented 11 months ago

can you please elaborate more

VidyaYadavv1519 commented 11 months ago

In this project you have different aaps in which app do you want phone number field ??

giobber commented 11 months ago

If I remember correctly (I'm a lot busy with other project in this weeks) at the moment Phone number is used only in member app in Member model (maybe I've added it in the PersonalData mixin) In the future it will be added in academy app inside Enrollment model

The right place for a custom field is commons module (in a fields.py sub-module) Instead the library https://django-phonenumber-field.readthedocs.io/en/latest/index.html I think declare itself a phone field