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=0.01, participation_fee=1.00, doc="", mturk_hit_settings=dict( keywords='bonus, study', title='Title for your experiment', description='Description for your experiment', frame_height=500, template='global/mturk_template.html', minutes_allotted_per_assignment=60, expiration_hours=7 * 24, qualification_requirements=[] # grant_qualification_id='YOUR_QUALIFICATION_ID_HERE', # to prevent retakes ) ) SESSION_CONFIGS = [ dict( name='Infectious_disease', display_name="Control", num_demo_participants=10, app_sequence=[ 'decision_task', 'survey', 'payment', ], use_browser_bots=False, total_rounds=13, num_others=9, num_rounds_for_payment=4, prolific_flat=1.67, flat=100, risk=50, ), ] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'GBP' USE_POINTS = True ROOMS = [ dict( name='Control', display_name='roundtwo', ), ] ROOT_URLCONF = 'urls' ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = '2)6qbr8qpmeo)-hi#7yv5*hho%7*%rvr*9c=+c(ztc4+g(dw7&' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']