from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants import time from otree_mturk_utils.views import CustomMturkPage, CustomMturkWaitPage class MyPage(Page): pass class ResultsWaitPage(WaitPage): def after_all_players_arrive(self): pass class Results(Page): pass class StartWait(CustomMturkWaitPage): def is_displayed(self): return self.participant.vars['failed'] is False #template_name = 'otree_mturk_utils/GenericExtendedWaitPageExample1ForOTree140.html' startwp_timer = 900 skip_until_the_end_of = 'experiment' #class Sorting(CustomMturkPage): # def is_displayed(self): # return self.participant.vars['failed'] is False # def vars_for_template(self): page_sequence = [ StartWait, #Sorting, ]