Re: relate data forms

2008-02-17 Thread zeev
Hello Rajesh Thanks for the quick answer. Zeev On Feb 15, 10:04 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On Feb 15, 2:29 pm,zeev<[EMAIL PROTECTED]> wrote: > > > Hello > > > I am new in Django > > > This is the code Iwrote > > >u = User.objects.get(username = "zeev") > > fo

Re: relate data forms

2008-02-15 Thread Rajesh Dhawan
On Feb 15, 2:29 pm, zeev <[EMAIL PROTECTED]> wrote: > Hello > > I am new in Django > > This is the code Iwrote > >u = User.objects.get(username = "zeev") > form = UserForm(instance = u) > p = u.userprofile_set.all() > form1 = UserProfileForm(instance = p) This do

relate data forms

2008-02-15 Thread zeev
Hello I am new in Django This is the code Iwrote u = User.objects.get(username = "zeev") form = UserForm(instance = u) p = u.userprofile_set.all() form1 = UserProfileForm(instance = p) this is the error that Django display '_QuerySet' object has no attribut