from os import environ SESSION_CONFIGS = [ dict( name='vote', display_name="実験", app_sequence=['vote', 'payment_info'], num_demo_participants=2, ), dict( name='study', display_name="教育", app_sequence=['study', 'payment_info'], num_demo_participants=None, ), dict( name='main', display_name="実践教育", app_sequence=['vote','Questionnaire2','payment_info'], num_demo_participants=2, ), dict( name='main2', display_name='基礎教育', app_sequence=['study','Questionnaire2','payment_info'], num_demo_participants=None, ), dict( name='main3', display_name='アンケートのみ', app_sequence=['Questionnaire','payment_info'], num_demo_participants=None, ), ] # 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 = 'USD' USE_POINTS = True ROOMS = [ dict( name='econ101', display_name='基礎教育', participant_label_file='_rooms/econ101.txt', ), dict( name='econ102', display_name='実践教育', participant_label_file='_rooms/econ102.txt', ), dict( name='econ103', display_name='アンケートのみ', participant_label_file='_rooms/econ103.txt', ), ] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = 'OTREE_ADMIN_PASSWORD' #environ.get AUTH_LEVEL='STUDY' DEMO_PAGE_INTRO_HTML = """ Here are some oTree games. """ SECRET_KEY = '1293492903169' INSTALLED_APPS = ['otree']