from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class MyPage(Page): def vars_for_template(self): return { 'show_up': Constants.endowment, } def before_next_page(self): self.participant.vars['show_up'] = Constants.endowment, class ResultsWaitPage(WaitPage): def after_all_players_arrive(self): pass class Results(Page): pass page_sequence = [ MyPage ]