ForeignKey related bug

2008-01-28 Thread Chirayu Patel
Hi, While building a blog type application, I seem to have stumbled upon a bug. In a nut shell all object attributes have become read only when I fetch the object from a query set which is fetched using the xxx_set() API. Please see the pdb trace for details. I have added comments to depict th

ForeignKey related bug

2008-01-30 Thread [EMAIL PROTECTED]
Hi, While building a blog type application, I seem to have stumbled upon a bug. In a nut shell all object attributes have become read only when I fetch the object from a query set which is fetched using the xxx_set() API. Please see the pdb trace for details. I have added comments to depict the

Re: ForeignKey related bug

2008-01-28 Thread Eric Abrahamsen
> While building a blog type application, I seem to have stumbled upon a > bug. In a nut shell all object attributes have become read only when I > fetch the object from a query set which is fetched using the xxx_set() > API. Hi Chirayu, Looks like the problem is not the FOO_set() manager, but s

Re: ForeignKey related bug

2008-01-28 Thread Eric Abrahamsen
> While building a blog type application, I seem to have stumbled upon a > bug. In a nut shell all object attributes have become read only when I > fetch the object from a query set which is fetched using the xxx_set() > API. Hi Chirayu, Looks like the problem is not the FOO_set() manager, but s

Re: ForeignKey related bug

2008-01-29 Thread John DeRosa
Chirayu Patel wrote: > Hi, > > While building a blog type application, I seem to have stumbled upon a > bug. In a nut shell all object attributes have become read only when I > fetch the object from a query set which is fetched using the xxx_set() > API. > > Please see the pdb trace for detail

Re: ForeignKey related bug

2008-01-29 Thread Rajesh Dhawan
> > A little weird, maybe someone else can explain exactly what's going > on. Presumably a QuerySet slice is somehow not being treated as the > object itself. Hi, As Eric correctly pointed out that slicing a QuerySet is not "sticky". Whenever you take a slice of an exisiting QuerySet, Django clo