On Sat, Mar 31, 2007 at 03:53:50AM -0700, [EMAIL PROTECTED] wrote:
> 
> Can anyone help me with this - when user creates account in the
> system, i want him to fill in his profile as well. I suppose I need to
> edit the view, and add two forms, one for profile, one for user
> their. But how do I get user's ID after new_user = form.save()? Get
> the latest user?

After the save, the new_user object should have the id. It should be the
user object that was just saved.

hope that helps,
-- 
Brett Parker

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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