from os import environ SESSION_CONFIGS = [ dict( name='PremierLeague_KE', display_name='Kenya Survey 2023', num_demo_participants=100, app_sequence=['KE_Survey_Intro', 'KE_Survey_Part1', 'KE_Survey_Part1_1', 'KE_Survey_BetPrimer', 'KE_Survey_Part2', 'KE_Survey_Part2_1', 'KE_Survey_End'], ), dict( name='PremierLeague_UK', display_name='UK Survey 2023', num_demo_participants=100, app_sequence=['UK_Survey_Intro', 'UK_Survey_Part1', 'UK_Survey_Part1_1', 'UK_Survey_BetPrimer', 'UK_Survey_Part2', 'UK_Survey_Part2_1', 'UK_Survey_End'], ), dict( name='UK_Survey_2022', display_name='UK Survey 2022', num_demo_participants=100, app_sequence=['UK_Survey_2022'], ), ] # 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=1.00, participation_fee=0.00, doc="" ) # 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 = [ dict( name='PremierLeague_KE', display_name='KE survey 2023' ), dict( name='PremierLeague_UK', display_name='UK survey 2023' ), ] 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 = """ Here are some oTree games. """ # don't share this with anybody. SECRET_KEY = '-4e!iba=d#g23m-q@h%@+fuq0jey7_8&8p01dp*rdv*z%qoxqs' INSTALLED_APPS = ['otree'] #Debug = False ALLOWED_HOSTS = [".herokuapp.com", 'localhost', '.bonneconlab.uni-bonn.de']