Hmm, I was think so, but not sure, thanks!
On Feb 13, 10:28 pm, Michael Newman <[EMAIL PROTECTED]> wrote:
> Before saving the user you can add all your information after you call
> the function. So:
> new_user = User.objects.create_user(user name, email, password)
> new_user.first_name = 'john'
>
Before saving the user you can add all your information after you call
the function. So:
new_user = User.objects.create_user(user name, email, password)
new_user.first_name = 'john'
new_user.last_name = 'doe'
new_user.save()
Note the user isn't actually created until you make the save call. If
yo
Why in User.objects.create_user(user name, email, password)
I can`t add more data, like birthday, last name, first name ?
Or how to do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
3 matches
Mail list logo