Skip to content
Advertisement

Tag: detailview

Is it possible to add values to context into a for loop?

I have a for loop to iterate a list. In every iteration i have a different value, and i want to add this value to my context. I’m trying using context.update, but every time this returns an empty context. cCard returns correct data. The only thing I need is to store what come from cCard to context[‘card_list’], but evert attempt

Advertisement