I make a searchqueryset with haystack in django and I have a query set:
results = SearchQuerySet().auto_query(q)
What I need is to add an item to each object of that query set. What I have is something like this:
results[0].object.name
results[0].object.age
etc. When I get this queryset in my views I want to add an item to each value maybe something like"x_number" and assign it. So when I retrieve de values of each item I have:
results[0].object.name
results[0].object.age
results[0].object.x_number
(Obviously x_number may have a value to... thats what I need to do actually)