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'
> new_user.last_name = 'doe'
> new_user.save()
>
> Note the user isn't actually created until you make the save call. If
> you want birthday you should look into the get_profile() function and
> a great article by James Bennett on Extending the user 
> model:http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-m...
>
> Here is a link to the docs that can be 
> helpful:http://www.djangoproject.com/documentation/authentication/
>
> Hope that helps, Michael Newman
>
> On Feb 13, 3:17 pm, dall <[EMAIL PROTECTED]> wrote:
>
> > 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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to