from otree.api import * c = cu doc = '' class Constants(BaseConstants): name_in_url = 'test_app' players_per_group = 2 num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): decision = models.IntegerField() class P1_decision(Page): form_model = 'player' form_fields = ['decision'] @staticmethod def vars_for_template(player): return dict() @staticmethod def before_next_page(player, timeout_happened): pass class P2_decision(Page): form_model = 'player' form_fields = ['decision'] class MyPage(Page): form_model = 'player' page_sequence = [P1_decision, P2_decision, MyPage]