from os import environ SESSION_CONFIGS = [ dict( name='payment_game_A', display_name="Payment Game A", app_sequence=['payment_game','payment_game_simulationA','payment_game_calculationA', 'questionnaire'], num_demo_participants=1, ), dict( name='payment_game_B', display_name="Payment Game B", app_sequence=['payment_game','payment_game_calculationB', 'payment_game_simulationB', 'questionnaire'], num_demo_participants=1, ), ] # 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="" ) PARTICIPANT_FIELDS = [] SESSION_FIELDS = [] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'ja' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'JPY' USE_POINTS = False ROOMS = [ dict( name='payment_experiment_A', display_name="Payment Experiment A", participant_label_file='_rooms/purchaseA.txt', use_secure_urls=False ), dict( name='payment_experiment_B', display_name="Payment Experiment B", participant_label_file='_rooms/purchaseB.txt', use_secure_urls=False ), ] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = "22M15010" DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ SECRET_KEY = '2777350957498' INSTALLED_APPS = ['otree'] DEBUG = False