from os import environ SESSION_CONFIGS = [ dict( name='M3', display_name="M3", num_demo_participants=1, app_sequence=['inst_overview','inst_n_comp_M3','n_comp_M3','inst_wta_M3','BDM_new_quiz','test_BDM','wta_M3','inst_M3_CE','M3_CE', 'instruction_deal', 'example_deal', 'M3','survey','result'] ), dict( name='P3', display_name="P3", num_demo_participants=1, app_sequence=['inst_overview', 'inst_n_comp_P3','n_comp_P3', 'inst_wta_P3','BDM_new_quiz_P3','test_BDM_P3', 'wta_P3','inst_P3_CE', 'P3_CE','instruction_deal_P3', 'example_deal_prob','P3', 'survey_P3','result_P3'] ), ] ROOMS = [ dict( name='Session1', display_name='Session1' ), dict( name='Session2', display_name='Session2', participant_label_file='_rooms/Session2.txt' ), dict( name='Session3', display_name='Session3', participant_label_file='_rooms/Session3.txt' ), dict( name='Session4', display_name='Session4', participant_label_file='_rooms/Session4.txt' ), dict( name='Session5', display_name='Session5', participant_label_file='_rooms/Session5.txt' ), dict( name='Session6', display_name='Session6', participant_label_file='_rooms/Session6.txt' ), dict( name='Session7', display_name='Session7', participant_label_file='_rooms/Session7.txt' ), dict( name='Session8', display_name='Session8', participant_label_file='_rooms/Session8.txt' ), dict( name='Session9', display_name='Session9', participant_label_file='_rooms/Session9.txt' ), dict( name='Session10', display_name='Session10', participant_label_file='_rooms/Session10.txt' ), dict( name='Session11', display_name='Session11', participant_label_file='_rooms/Session11.txt' ), dict( name='Session12', display_name='Session12', participant_label_file='_rooms/Session12.txt' ), dict( name='Session13', display_name='Session13', participant_label_file='_rooms/Session13.txt' ), ] # 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="" ) # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY 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 = """ """ SECRET_KEY = 'emt_b3iwk^)^goxzb4@^%+e&!2uyt-7jtk#0cj7^1#z1w-1xgn' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']