oTree Forum >

Retrieve ExtraModel information in subsequent round

#1 by Trontatuma (edited )

I want to access information stored in an ExtraModel database from the previous round, but when I type something like

offers = Offer.filter(group=group)
print(offers)

it is empty. The same code the round before would have given the offers. Why is this happening? I thought the database remains the same across rounds.

Note: I am trying to access it in the vars_for_template function.

#2 by Trontatuma

It seems like ExtraModel is round-specific?

Write a reply

Set forum username