from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class Page1(Page): form_model = 'player' form_fields = ['contribution'] class Page2(Page): pass class WaitPage1(WaitPage): #全プレイヤーが選択したら,cal_ritokuという関数を走らせる after_all_players_arrive = 'cal_ritoku' page_sequence = [Page1, WaitPage1,Page2]