from os import environ SESSION_CONFIGS = [ dict( name='T1', display_name='T1', num_demo_participants=12, app_sequence=['Instructions', 'stage1', 'stage2', 'stage5', 'stage6', 'questionnaire'], ), dict( name='T2', display_name='T2', num_demo_participants=12, app_sequence=['Instructions', 'stage12', 'stage2', 'stage5', 'stage6', 'questionnaire'], ), dict( name='T3', display_name='T3', num_demo_participants=12, app_sequence=['Instructions', 'stage13', 'stage2', 'stage5', 'stage6', 'questionnaire'], ), dict( name='T4', display_name='T4', num_demo_participants=12, app_sequence=['Instructions', 'stage14', 'stage2', 'stage5', 'stage6', 'questionnaire'], ), dict( name='B1', display_name='B1', num_demo_participants=12, app_sequence=['Instructions', 'stage1', 'stage2Control', 'stage5', 'stage6', 'questionnaireCont'], ), dict( name='B2', display_name='B2', num_demo_participants=12, app_sequence=['Instructions', 'stage12', 'stage2Control', 'stage5', 'stage6', 'questionnaireCont'], ), dict( name='B3', display_name='B3', num_demo_participants=12, app_sequence=['Instructions', 'stage13', 'stage2Control', 'stage5', 'stage6', 'questionnaireCont'], ), dict( name='B4', display_name='B4', num_demo_participants=12, app_sequence=['Instructions', 'stage14', 'stage2Control', 'stage5', 'stage6', 'questionnaireCont'], ), dict( name='TEST', display_name='TEST', num_demo_participants=12, app_sequence=['Instructions', 'stage1', 'stage5'], ), ] SESSION_CONFIG_DEFAULTS = dict( real_world_currency_per_point=1.00, participation_fee=0.00, doc="" ) PARTICIPANT_FIELDS = ['avatar', 'experiment_number', 'ava_pic', 'payoff_stage4', 'payoff_stage5', 'corr_answers', 'hat', 'jersey'] SESSION_FIELDS = ['new_groups', 'new_groups2', 'R_N'] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' DEBUG = False # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = '' 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 = '3354609943670'