django-phonenumber-field is expecting a charfield and not a int.
Johnf
On Thu, Dec 15, 2016 at 5:12 AM, Deep Shah 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
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
Thanks guys!
On Wed, Dec 14, 2016 at 9:47 PM, Michal Petrucha <
michal.petru...@konk.org> wrote:
> On Wed, Dec 14, 2016 at 09:36:06PM +0200, Sithembewena Lloyd Dube wrote:
> > Hi,
> >
> > Has anyone captured phone number information using a Form/ModelForm
> > instance? I have the field as an
On Wed, Dec 14, 2016 at 09:36:06PM +0200, Sithembewena 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 prob
Use CharField and try to find on
https://django-localflavor.readthedocs.io/en/latest/ a Phone form Field for
valid to you country or create
Or create your own PhoneFormField with the validation rules that you need
Implementation example:
https://github.com/django/django-localflavor/blob/master/lo
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
6 matches
Mail list logo