from os import environ SESSION_CONFIGS = [ # dict( # name='public_goods', # display_name="Public Goods Game", # app_sequence=['public_goods'], # num_demo_participants=3, # ), #dict( # name='Control_tr', # display_name="Control Treatment", # app_sequence=['General_Intro', 'Control_tr', 'Schwartz', 'Payment_Info'], # num_demo_participants=3, #), #dict( # name='Group_ABC', # display_name="Group Treatment", # app_sequence=['General_Intro', 'Group_ABC', 'Schwartz', 'Payment_Info'], # num_demo_participants=3, # ), #dict( # name='Group_AB', # display_name="AB Group Treatment", # app_sequence=['General_Intro', 'Group_AB', 'Schwartz', 'Payment_Info'], # num_demo_participants=3, # ), #dict( # name='Group_AC', # display_name="AC Group Treatment", # app_sequence=['General_Intro', 'Group_AC', 'Schwartz', 'Payment_Info'], # num_demo_participants=3, #), #dict( # name='Group_BC', # display_name="BC Group Treatment", # app_sequence=['General_Intro', 'Group_BC', 'Schwartz', 'Payment_Info'], # num_demo_participants=3, # ), #dict( # name='Schwartz', # display_name="Schwartz", # app_sequence=['Schwartz'], # num_demo_participants=3, #) dict( name='Control', display_name="Control Treatment", app_sequence=['General_Intro', 'Control_tr', 'Schwartz', 'Payment_Info'], num_demo_participants=3, ), ] # 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=4.00, participation_fee=28.00, doc="" ) PARTICIPANT_FIELDS = [] SESSION_FIELDS = [] OTREE_PRODUCTION = True # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'tr' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'TL' USE_POINTS = True POINTS_CUSTOM_NAME = 'Puan' POINTS_DECIMAL_PLACES = 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 = """ Here are some oTree games. """ SECRET_KEY = '5586122969890' INSTALLED_APPS = ['otree']