from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants ### We have two pages : So we need two page classes in pages.py class MyPage(Page): ## The forms for MyPage form_model = 'player' form_fields = ['name','age'] #class ResultsWaitPage(WaitPage): ## Wait page is only necessary in Multiplayer games # def after_all_players_arrive(self): # pass class Results(Page): pass # This page doesn’t have a form or any other special attributes, so we just write “pass”. page_sequence = [ MyPage, Results ]