from os import environ SESSION_CONFIG_DEFAULTS = dict( real_world_currency_per_point=0.03, participation_fee=20) SESSION_CONFIGS = [ dict(name='productivity_diff', num_demo_participants=None, app_sequence=[ 'trust', 'trust2', 'survey_production'], treatment_group="production", init_more=24, init_less=24, unit_more=1.9, unit_less=1.3), dict(name='endowmen_t_diff', num_demo_participants=None, app_sequence=[ 'trust', 'trust2', 'survey'], treatment_group="endowment", init_more=36, init_less=12, unit_more=1.6, unit_less=1.6), dict(name='control', num_demo_participants=None, app_sequence=[ 'trust', 'trust2', 'survey_control'], treatment_group="control", init_more=24, init_less=24, unit_more=1.6, unit_less=1.6), dict(name='aligned_endowment_productivity', num_demo_participants=None, app_sequence=[ 'trust', 'trust2', 'survey'], treatment_group="endowment_and_production", init_more=36, init_less=12, unit_more=1.9, unit_less=1.3), dict(name='misaligned_endowment_productivity', num_demo_participants=None, app_sequence=[ 'trust', 'trust2', 'survey'], treatment_group="endowment_and_production", init_more=36, init_less=12, unit_more=1.3, unit_less=1.9)] LANGUAGE_CODE = 'en' REAL_WORLD_CURRENCY_CODE = '' USE_POINTS = False POINTS_CUSTOM_NAME = "分" DEMO_PAGE_INTRO_HTML = '' PARTICIPANT_FIELDS = ['sum_points1', 'sum_points2', 'role','survey_option1','survey_option2'] SESSION_FIELDS = [] ROOMS = [dict(name='lab', display_name='lab', participant_label_file='_rooms/lab.txt'), dict(name="test", display_name="test", participant_label_file='_rooms/test.txt')] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') SECRET_KEY = 'blahblah' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']