Saturday, 17 August 2013

How to create a user with just First name, Last name and emai. And not with the username

How to create a user with just First name, Last name and emai. And not
with the username

Is there any way to create a user without the username? I tried doing this
by first_name, last_name, password and email. But got an error:
TypeError at /accounts/register/
create_user() takes at least 2 arguments (3 given)
So, I searched for creating so, and then found that django needs a
username. But I hope there is some other way around. Can anyone please
guide me through if there is. Thank you.

No comments:

Post a Comment