Oops... yeah Brian that i forgot to make it as a foriegn key to the user table and that might be surprised without making foriegn key i did not get any error even though my settings.DEBUG is true. but now i made user field in MemberProfile but the same problem my form data is not saving to foriegn key.
Please assume the user as foriegn key to the user table on same link http://dpaste.com/116096/ or may see here http://dpaste.com/116432/ Thanks On Feb 3, 9:47 pm, Brian Neal <bgn...@gmail.com> wrote: > On Feb 3, 6:36 am, Praveen <praveen.python.pl...@gmail.com> wrote: > > >http://dpaste.com/116096/ > > The user field in your MemberProfile is a CharField (I was expecting > it to be a ForeignKey to the User table). > > I think the problem is you can't assign request.user to a CharField > (line 31). I'm surprised you don't get an error on line 34. Is > settings.DEBUG True? --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---