Sorry. Can't believe I forgot to mention that part!

The error was that theid could not be found in the database. Which made
no sense to me since I was trying to create a new user.

I was able to do this, however, after much experimentation:

new_user = user_profile.objects.create(user_id=the_user.id)

Thanks though.

-Dougal

On Dec 9, 10:58 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 12/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > new_profile = user_profile(user=some_user)
>
> > but it gives me an error.What error? Without seeing the exact error 
> > message, it's hard to debug ;)
>
> --
> "May the forces of evil become confused on the way to your house."
>   -- George Carlin


--~--~---------~--~----~------------~-------~--~----~
 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