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=0.20, doc="", mturk_hit_settings=dict( # adjust the following, if needed. keywords='bonus, study', title='Experiment 1', description='Intention', frame_height=500, template='global/mturk_template.html', minutes_allotted_per_assignment=60, expiration_hours=7 * 24, qualification_requirements=[], # adjust qualification id: only relevant in Experiment2 # 'QualificationTypeId': "YOUR_QUALIFICATION_ID_HERE", # 'Comparator': "DoesNotExist", grant_qualification_id='Exp1Trial1', # to prevent retakes ) ) SESSION_CONFIGS = [ dict( name='Experiment1', display_name="Experiment 1 (Intention)", num_demo_participants=100, app_sequence=['PartA', 'Filler_task', 'PartB'], ), ] # 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 POINTS_CUSTOM_NAME = 'ECU' ROOMS = [] 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 = '#hjd89#!rzgt$lp**+!3go*m@-u%y&l--_rhjitxeh2w0-@-rd' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']