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': 'FirstDate', # 'display_name': "First Date", # 'num_demo_participants': 1, # 'app_sequence': ['FirstDate'], # 'use_browser_bots': False, # 'treatment': 'debiasing', # 'subtreatment': 'L' # }, # { # 'name': 'SecondDate', # 'display_name': "Second Date", # 'num_demo_participants': 1, # 'app_sequence': ['SecondDate'], # 'use_browser_bots': False, # 'treatment': 'debiasing', # 'subtreatment': 'L' # }, { 'name': 'Main', 'display_name': "De-biasing Myopic Loss Aversion", 'num_demo_participants': 1, 'app_sequence': ['FirstDate', 'SecondDate'] } ] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'de' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'EUR' USE_POINTS = False POINTS_CUSTOM_NAME = 'Taler' ROOMS = [] DEBUG = True # EXTENSION_APPS = ['otree_tools'] AUTH_LEVEL = 'STUDY' ADMIN_USERNAME = 'debiasing' # for security, best to set admin password in an environment variable # ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') ADMIN_PASSWORD = 'project2020' DEMO_PAGE_INTRO_HTML = """ This is the demo version of the experiment. """ SECRET_KEY = '@$4ad=49)%*4uo*hig^z^o13=55kziqhlgrf$ug%2e3ct8yi2#' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']