from os import environ # if you set a property in SESSION_CONFIG_DEFAULTS, it will be inherited by all configs # in SESSION_CONFIGS, except those that explicitly override it. # the session config can be accessed from methods in your apps as self.session.config, # e.g. self.session.config['participation_fee'] SESSION_CONFIG_DEFAULTS = dict( real_world_currency_per_point=1.00, participation_fee=0.00, doc="" ) SESSION_CONFIGS = [ dict( name='MALE', display_name="MALE", num_demo_participants=40, app_sequence=['Part1_MALE', 'Part2_WTP_DOSE'], ), dict( name='FEMALE', display_name="FEMALE", num_demo_participants=40, app_sequence=['Part1_FEMALE', 'Part2_WTP_DOSE'], ), dict( name='Prescreen', display_name="Prescreen", num_demo_participants=40, app_sequence=['Prescreen'], ), ] # see the end of this file for the inactive session configs # ISO-639 code # for example= de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'USD' USE_POINTS = True PARTICIPANT_FIELDS = ['affiliation'] ROOMS = [ dict(name='prolific1', display_name='Room Prolific 1'), dict(name='prolific2', display_name='Room Prolific 2'), dict(name='prolific3', display_name='Room Prolific 3'), dict(name='prolific4', display_name='Room Prolific 4'), dict(name='prolific5', display_name='Room Prolific 5'), dict( name='live_demo', display_name='Room for live demo (no participant labels)' ), ] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') ADMIN_PASSWORD = 'autonomy' DEMO_PAGE_INTRO_HTML = """ Welcome to """ OTREE_AUTH_LEVEL = 'STUDY' # don't share this with anybody. SECRET_KEY = 'c(w%46x89s#i=-jsn5nh))$6=^m3l2+ils_(_8*j2i(pz_sn@g' # if an app is included in SESSION_CONFIGS, you don't need to list it here #INSTALLED_APPS = ['otree', 'otree_tools'] #EXTENSION_APPS = ['otree_tools'] INSTALLED_APPS = ['otree']