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 = { 'real_world_currency_per_point': 1.00, 'participation_fee': 0.00, 'doc': "", } SESSION_CONFIGS = [ { 'name': 'SPG_CITHOT_A', 'display_name': "SPG_CITHOT_A", 'num_demo_participants': 5, 'share_distribution': 'homogeneous', 'information_condition': 'complete', 'app_sequence': ['WELCOME', 'SPG', 'SVO', 'HEXACO', 'END'] }, { 'name': 'SPG_CITHOT_B', 'display_name': "SPG_CITHOT_B", 'num_demo_participants': 5, 'share_distribution': 'homogeneous', 'information_condition': 'complete', 'app_sequence': ['WELCOME', 'SVO', 'HEXACO', 'SPG', 'END'] }, { 'name': 'SPG_IITHOT_C', 'display_name': "SPG_IITHOT_C", 'num_demo_participants': 5, 'share_distribution': 'homogeneous', 'information_condition': 'incomplete', 'app_sequence': ['WELCOME', 'SPG', 'SVO', 'HEXACO', 'END'] }, { 'name': 'SPG_IITHOT_D', 'display_name': "SPG_IITHOT_D", 'num_demo_participants': 5, 'share_distribution': 'homogeneous', 'information_condition': 'incomplete', 'app_sequence': ['WELCOME', 'SVO', 'HEXACO', 'SPG', 'END'] }, { 'name': 'SPG_CITHET_E', 'display_name': "SPG_CITHET_E", 'num_demo_participants': 5, 'share_distribution': 'heterogeneous', 'information_condition': 'complete', 'app_sequence': ['WELCOME', 'SPG', 'SVO', 'HEXACO', 'END'] }, { 'name': 'SPG_CITHET_F', 'display_name': "SPG_CITHET_F", 'num_demo_participants': 5, 'share_distribution': 'heterogeneous', 'information_condition': 'complete', 'app_sequence': ['WELCOME', 'SVO', 'HEXACO', 'SPG', 'END'] }, { 'name': 'SPG_IITHET_G', 'display_name': "SPG_IITHET_G", 'num_demo_participants': 5, 'share_distribution': 'heterogeneous', 'information_condition': 'incomplete', 'app_sequence': ['WELCOME', 'SPG', 'SVO', 'HEXACO', 'END'] }, { 'name': 'SPG_IITHET_H', 'display_name': "SPG_IITHET_H", 'num_demo_participants': 5, 'share_distribution': 'heterogeneous', 'information_condition': 'incomplete', 'app_sequence': ['WELCOME', 'SVO', 'HEXACO', 'SPG', 'END'] }, { 'name': 'HEXACO99', 'display_name': 'HEXACO99', 'num_demo_participants': 1, 'app_sequence': ['WELCOME99', 'SVO', 'HEXACO99', 'END'], }, { 'name': 'HEXACO', 'display_name': 'HEXACO', 'num_demo_participants': 1, 'app_sequence': ['HEXACO'], }, { 'name': 'SVO', 'display_name': 'SVO', 'num_demo_participants': 1, 'app_sequence': ['SVO'], }, { 'name': 'END', 'display_name': 'END', 'num_demo_participants': 1, 'app_sequence': ['END'], }, { 'name': 'WELCOME', 'display_name': 'WELCOME', 'num_demo_participants': 1, 'app_sequence': ['WELCOME'], }, { 'name': 'WELCOME99', 'display_name': 'WELCOME99', 'num_demo_participants': 1, 'app_sequence': ['WELCOME99'], }, ] # 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 ROOMS = [ { 'name': 'testdayRA', 'display_name': 'testdayRA', 'participant_label_file': '_rooms/RA.txt' }, { 'name': 'testdayRB', 'display_name': 'testdayRB', 'participant_label_file': '_rooms/RB.txt' }, { 'name': 'testdayRC', 'display_name': 'testdayRC', 'participant_label_file': '_rooms/RC.txt' }, { 'name': 'testdayRD', 'display_name': 'testdayRD', 'participant_label_file': '_rooms/RD.txt' }, { 'name': 'testdayRE', 'display_name': 'testdayRE', 'participant_label_file': '_rooms/RE.txt' }, { 'name': 'testdayRF', 'display_name': 'testdayRF', 'participant_label_file': '_rooms/RF.txt' }, { 'name': 'testdayRG', 'display_name': 'testdayRG', 'participant_label_file': '_rooms/RG.txt' }, { 'name': 'testdayRH', 'display_name': 'testdayRH', 'participant_label_file': '_rooms/RH.txt' }, { 'name': 'testdayRA2', 'display_name': 'testdayRA2', 'participant_label_file': '_rooms/RA2.txt' }, { 'name': 'testdayRB2', 'display_name': 'testdayRB2', 'participant_label_file': '_rooms/RB2.txt' }, { 'name': 'testdayRC2', 'display_name': 'testdayRC2', 'participant_label_file': '_rooms/RC2.txt' }, { 'name': 'testdayRD2', 'display_name': 'testdayRD2', 'participant_label_file': '_rooms/RD2.txt' }, { 'name': 'testdayRE2', 'display_name': 'testdayRE2', 'participant_label_file': '_rooms/RE2.txt' }, { 'name': 'testdayRF2', 'display_name': 'testdayRF2', 'participant_label_file': '_rooms/RF2.txt' }, { 'name': 'testdayRG2', 'display_name': 'testdayRG2', 'participant_label_file': '_rooms/RG2.txt' }, { 'name': 'testdayRH2', 'display_name': 'testdayRH2', 'participant_label_file': '_rooms/RH2.txt' }, { 'name': 'testdayR99', 'display_name': 'testdayR99', 'participant_label_file': '_rooms/R99.txt' }, ] ADMIN_USERNAME = 'lbouman' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = 'Lb7228933!' DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ # don't share this with anybody. SECRET_KEY = '(ab6tyeq@b&c1w9l7^9%a^v^r1e@==r)9h3i2@fmd*z^qs0)x9' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']