Yes - but that is very different from what you are asking - Facebook have a two stage form - first set the details - and then set the user name. Their user name isn't optional - it is always mandatory - it is just set at stage two.

You can assign any value to any variable you wish - this isn't a Django issue.

On 07/05/18 01:56, lakshitha kumara wrote:
hi anthony

Look at the facebook registration form. there are no username field first time user registration. but once user registered they can set username what they want.

Thanks

On Sunday, May 6, 2018 at 8:13:55 PM UTC+5:30, lakshitha kumara wrote:

    Hello guys

    Is there way to assign username same as user id if username
    passing empty value on registration form. is there way to do that.

    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+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto:django-users@googlegroups.com>.
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/e7eb07c0-6162-4c88-b5b4-8d1a5ee2d4b6%40googlegroups.com <https://groups.google.com/d/msgid/django-users/e7eb07c0-6162-4c88-b5b4-8d1a5ee2d4b6%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
--
Anthony Flury
email : *anthony.fl...@btinternet.com*
Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>*

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/72d11416-4530-8977-c02e-a4b316cfeca1%40btinternet.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to