Thanks. That helped me figure it out. I'll post my solution back later today/tonight.
On Sat, Sep 11, 2010 at 12:37 AM, Shawn Milochik <sh...@milochik.com> wrote: > I think you just may be missing a call to get_profile() in this view. > You can just do that and do a try block with an except block for > DoesNotExist. That will let you know the situation you're in, whether > the profile already existed or not. > > Also, unless I'm misreading something you're trying to pass a User > instance as the instance for a user profile, which will not work. If > anything, you should be doing a .get() on the user profile where user > = request.user, but that doesn't matter anyway because get_profile() > does the same thing and is the correct way to do this. > > Shawn > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.