from otree.api import * doc = """ プロフィールのアンケート(demo) """ class C(BaseConstants): NAME_IN_URL = 'Profile' PLAYERS_PER_GROUP = 4 NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): name = models.StringField() age = models.IntegerField() # PAGES class Servey(Page): form_model = 'player' form_fields = ['name','age'] class Results(Page): pass page_sequence = [ Servey, Results ]