from os import environ SESSION_CONFIGS = [ dict( name='xlab_experiment', display_name="Xlab Experiment", app_sequence=['instructions', 'search_app_a', 'search_app_b', 'search_app_c', 'search_app_RA', 'crt', 'payment', 'survey'], num_demo_participants=60, ), ] # 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=0.01, participation_fee=0.00, doc="" ) PARTICIPANT_FIELDS = ['treatment', 'ex_value_0', 'ex_value_1', 'ex_value_2', 'ex_value_3', 'ex_value_4', 'ex_value_5', 'ex_value_6', 'ex_value_7', 'ex_value_8', 'ex_value_9', 'ex_value_10', 'ex_value_11', 'ex_value_12', 'ex_value_13', 'ex_value_14', 'ex_value_15', 'decision_turns_a', 'total_decisions_a', 'random_round_part1_a', 'payoff_part1_a', 'decision_turns_b', 'total_decisions_b', 'random_round_part1_b', 'payoff_part1_b', 'decision_turns_c', 'total_decisions_c', 'random_round_part1_c', 'payoff_part1_c', 'payoff_part1', 'random_round_part2', 'payoff_part2', 'questions_correct', 'decision_turns_2', 'payment_incentive', 'payment_total'] SESSION_FIELDS = [] LANGUAGE_CODE = 'en' REAL_WORLD_CURRENCY_CODE = 'USD' USE_POINTS = True 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. """ SECRET_KEY = '7090507088802' INSTALLED_APPS = ['otree']