from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'Your name here' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'WTF' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): Werbistdu = models.IntegerField( choices=[ [1, 'Simon'], [2, 'Fabian'], [3, 'Rebekka'], ], ) Gewicht = models.IntegerField() def vars_for_template(self): return { 'max': 80, 'max1': 90, } pass