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, SESSION_CONFIGS = [ #dict( # name='survey', app_sequence=['survey', 'payment_info'], num_demo_participants=1 #), #dict( # name='project2', # display_name="Multi2", # app_sequence=['project2'], # num_demo_participants=1 #), #dict( # name='real_effort2', # display_name="slider", # app_sequence=['real_effort2'], # num_demo_participants=3 #), #dict( # name='soloslider', # display_name="soloslider", # app_sequence=['soloslider'], # num_demo_participants=3 # ), #dict( # name='slider01', # display_name="slider01", # app_sequence=['slider01'], # num_demo_participants=5 #), #dict( ### individual only # name='interaction_01', # display_name="Only_Individually", # app_sequence=['interaction_01'], # num_demo_participants=8 #), #dict( ### collective only # name='interaction_02', # display_name="Only_Collectivelly", # app_sequence=['interaction_02'], # num_demo_participants=8 #), #dict( ### collective only # name='interaction_03', # display_name="Both_Ways", # app_sequence=['interaction_03'], # num_demo_participants=8 #), #dict( ### collective only # name='simple', # display_name="Siplified ED", # app_sequence=['simple'], # num_demo_participants=6 #), #dict( ### collective only # name='simplechat', # display_name="SimpleChat", # app_sequence=['simplechat'], # num_demo_participants=6 #), #dict( ### collective only # name='PILOT', # display_name="PILOT", # app_sequence=['PILOT'], # num_demo_participants=24 #), #dict( ### collective only # name='SHARP_mixed', # display_name="SHARP_mixed", # app_sequence=['SHARP_mixed'], # num_demo_participants=24 #), #dict( ### collective only # name='SHARP_individual', # display_name="SHARP_individual", # app_sequence=['SHARP_individual'], # num_demo_participants=24 #), #dict( ### collective only # name='SHARP_collective', # display_name="SHARP_collective", # app_sequence=['SHARP_collective'], # num_demo_participants=24 #), dict( ### SHARP version name='INDIVIDUAL', display_name="INDIVIDUAL", app_sequence=['INDIVIDUAL'], num_demo_participants=24 ), dict( ### SHARP version name='COLLECTIVE', display_name="COLLECTIVE", app_sequence=['COLLECTIVE'], num_demo_participants=24 ), dict( ### SHARP version name='INDIVIDUAL1', display_name="INDIVIDUAL1", app_sequence=['INDIVIDUAL_S1'], num_demo_participants=24 ), dict( ### SHARP version name='INDIVIDUAL2', display_name="INDIVIDUAL2", app_sequence=['INDIVIDUAL_S2'], num_demo_participants=24 ), dict( ### SHARP version name='INDIVIDUAL3', display_name="INDIVIDUAL3", app_sequence=['INDIVIDUAL_S3'], num_demo_participants=24 ), dict( ### SHARP version name='INDIVIDUAL4', display_name="INDIVIDUAL4", app_sequence=['INDIVIDUAL_S4'], num_demo_participants=24 ), dict( ### SHARP version name='INDIVIDUAL5', display_name="INDIVIDUAL5", app_sequence=['INDIVIDUAL_S5'], num_demo_participants=24 ), dict( ### SHARP version name='COLLECTIVE1', display_name="COLLECTIVE1", app_sequence=['COLLECTIVE_S1'], num_demo_participants=24 ), dict( ### SHARP version name='COLLECTIVE2', display_name="COLLECTIVE2", app_sequence=['COLLECTIVE_S2'], num_demo_participants=24 ), dict( ### SHARP version name='COLLECTIVE3', display_name="COLLECTIVE3", app_sequence=['COLLECTIVE_S3'], num_demo_participants=24 ), dict( ### SHARP version name='COLLECTIVE4', display_name="COLLECTIVE4", app_sequence=['COLLECTIVE_S4'], num_demo_participants=24 ), dict( ### SHARP version name='COLLECTIVE5', display_name="COLLECTIVE5", app_sequence=['COLLECTIVE_S5'], num_demo_participants=24 ) ] # e.g. self.session.config['participation_fee'] SESSION_CONFIG_DEFAULTS = dict( real_world_currency_per_point=1.00, participation_fee=0.00, doc="" ) PARTICIPANT_FIELDS = [] SESSION_FIELDS = [] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'EUR' USE_POINTS = True ROOMS = [ dict( name='econ101', display_name='Econ 101 class', participant_label_file='_rooms/econ101.txt', ), 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 = "Maastricht" DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ SECRET_KEY = '6927347800465' INSTALLED_APPS = ['otree']