from otree.api import Currency as c, currency_range from . import models from ._builtin import Page, WaitPage from .models import Constants from otreeutils.pages import AllGroupsWaitPage, ExtendedPage, UnderstandingQuestionsPage, APPS_DEBUG from otree.api import Currency as c, currency_range from . import models from ._builtin import Page, WaitPage class ComputerTerminal(Page): form_model = models.Player form_fields = ['ComputerTerminal'] class Waitforinstructions1(Page): pass class AllGroupsWaitPage1(WaitPage): wait_for_all_groups = True class Welcome (Page): pass class Demographics(Page): form_model = models.Player form_fields = ['Gender1','Age','Education1','Education2','Country','State','Religion','Caste','Language', ] def before_next_page(self): self.player.set_gender() self.player.set_age() class Waitforinstructions2(Page): pass class AllGroupsWaitPage2(WaitPage): wait_for_all_groups = True class instructions_overall(Page): pass class role(Page): pass class Waitforinstructions3(Page): pass class AllGroupsWaitPage3(WaitPage): wait_for_all_groups = True page_sequence = [ ComputerTerminal, Waitforinstructions1, AllGroupsWaitPage1, Demographics, Waitforinstructions2, AllGroupsWaitPage2, Welcome, instructions_overall, role, Waitforinstructions3, AllGroupsWaitPage3 ] #page_sequence = [ # Demographics, #]