Re: Adding model instance attributes

2009-04-15 Thread Mitch Chapman
On Apr 14, 9:43 am, Alex Gaynor wrote: > On Tue, Apr 14, 2009 at 11:33 AM, Mitch Chapman > wrote: > > Is it bad form in Django to add "transient" instance variables to > > model instances? > > > I'm rendering a set of search results.  Each result reco

Adding model instance attributes

2009-04-14 Thread Mitch Chapman
Is it bad form in Django to add "transient" instance variables to model instances? I'm rendering a set of search results. Each result record is a User instance. I want to show whether or not each record is a friend of the user who is conducting the search. Right now my view is annotating each