from os import environ SESSION_CONFIGS = [ dict( name='n_treatment', display_name="Threshold Game N Treatment", num_demo_participants=10, app_sequence=['Consent_Page', 'public_goods', 'payment_info'], color='blue' ), dict( name='r_treatment', display_name="Threshold Game R Treatment", num_demo_participants=10, app_sequence=['Consent_Page', 'public_goods', 'payment_info'], color='red' ), dict( name='c_treatment', display_name="Threshold Game C Treatment", num_demo_participants=10, app_sequence=['Consent_Page', 'public_goods', 'payment_info'], color='green' ), ] # 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=0.25, participation_fee=0.00, doc="" ) # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'de' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = '₡' USE_POINTS = False POINTS_CUSTOM_NAME = 'Cashcoins' ROOMS = [ dict( name='econ101', display_name='Econ 101 class', participant_label_file='_rooms/econ101.txt', ), dict(name='behavioralecon', display_name='Verhaltensökonomie Übung'), dict(name='test', display_name='Testdurchlauf mit Abendteuer'), dict(name='sustecon', display_name='Sustainability Ecnomics Durchführung'), ] ADMIN_USERNAME = 'Julian' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') DEMO_PAGE_INTRO_HTML = """ Ein "collective-risk public goods game" mit drei verschiedenen Manipulationen. """ # don't share this with anybody. SECRET_KEY = '*kap&^d756f8fbqj7a-v+t%)km=l75h%o-o2z04vo2v6a7fj)h' INSTALLED_APPS = ['otree']