from os import environ from sys import displayhook ROOMS = [ dict( name='govpolicy', display_name='govpolicy', ), ] SESSION_CONFIGS = [ dict( name='Follow_up', app_sequence=['follow_up'], num_demo_participants=50, completionlink='https://app.prolific.co/submissions/complete?cc=CEBSEWOI', # time_pressure = True, ), ] # 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=1.20, doc="" ) PARTICIPANT_FIELDS = ['child_gender', 'child_age', 'edushare', 'consent', 'firstscenario', 'firstshown', 'secondshown', 'basewage', 'longer_hour', 'short_hour', 'redemption_code', 'info_treat', 'payment', 'finalpay', 'gcse_pay', 'gcse_display', 'behaviour_pay', 'behaviour_display'] # 'donation', 'addpay', 'donation_execute', 'donation_display', SESSION_FIELDS = [] # this is global variables that are the same for all participants # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'GBP' USE_POINTS = False 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 = """ """ SECRET_KEY = '2557484191156'