from otree.api import * doc = """ An image that changes when you move a slider. If your image is a some kind of chart, it's better to use Highcharts than static images. See the SVO example. """ class Constants(BaseConstants): name_in_url = 'brouillon' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): confidence = models.IntegerField(min=0, max=100) # PAGES class MyPage(Page): form_model = 'player' form_fields = ['confidence'] page_sequence = [MyPage]