django-phonenumber-field is expecting a charfield and not a int. Johnf On Thu, Dec 15, 2016 at 5:12 AM, Deep Shah <[email protected]> wrote:
> I have not tried this out but you can check this- > > https://github.com/stefanfoulis/django-phonenumber-field/ > > > > On Thursday, December 15, 2016 at 1:07:02 AM UTC+5:30, Lloyd Dube wrote: >> >> Hi, >> >> Has anyone captured phone number information using a Form/ModelForm >> instance? I have the field as an IntegerField in my model and (for obvious >> reasons) it truncates the leading '0'. How have you solved this problem, >> anyone? >> >> -- >> Regards, >> Sithembewena >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/65418720-d01a-40d1-bed0-387769505982%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/65418720-d01a-40d1-bed0-387769505982%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANDKt80Nx8fR%3Dv_28wCKJZGZLHt%2BKzbZdiiMszDkkpXc%3DcCL-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

