Friday, September 26, 2014

Re: How to make a phone number field mandatory like password.

You can do it in the form itself.

On Fri, Sep 26, 2014 at 8:49 PM, Sachin Tiwari <sachin.tiwari50@gmail.com> wrote:
Hi

I am learning django and I want to add a phone number field which would be mandatory when we use add user button in users section.

I  tried it with blank=False or null=False but it would not work for me.

I am also using django-phone-number field package.


Thanks

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0ba53eda-e569-4521-b83a-4c883ee962e3%40googlegroups.com.
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B8okoK3UHV0pV3kZ9CT7kRKik70%2B20XVBcdsDv58cKDR%3Dv_kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment