from os import environ SESSION_CONFIG_DEFAULTS = dict(real_world_currency_per_point=0.01, participation_fee=6) SESSION_CONFIGS = [ dict( name='only_questionnaire', num_demo_participants=1, app_sequence=['questionnaire'], treatment=1 ), dict( name='only_intro', num_demo_participants=1, app_sequence=['introduction'], treatment=1 ), dict( name='only_tpg', num_demo_participants=4, app_sequence=['experiment'], treatment=3 ), dict( name='Treatment_1', num_demo_participants=4, app_sequence=['introduction', 'experiment', 'questionnaire', 'final_payoff', 'cler_collector'], treatment=1 ), dict( name='Treatment_2', num_demo_participants=4, app_sequence=['introduction', 'experiment', 'questionnaire', 'final_payoff', 'cler_collector'], treatment=2 ), dict( name='Treatment_3', num_demo_participants=4, app_sequence=['introduction', 'experiment', 'questionnaire', 'final_payoff', 'cler_collector'], treatment=3 ), dict( name='Treatment_4', num_demo_participants=4, app_sequence=['introduction', 'experiment', 'questionnaire', 'final_payoff', 'cler_collector'], treatment=4 ), dict( name='Control_1', num_demo_participants=4, app_sequence=['introduction', 'experiment', 'questionnaire', 'final_payoff', 'cler_collector'], treatment=5 ), dict( name='Control_2', num_demo_participants=4, app_sequence=['introduction', 'experiment', 'questionnaire', 'final_payoff', 'cler_collector'], treatment=6 ) ] LANGUAGE_CODE = 'de' REAL_WORLD_CURRENCY_CODE = 'EUR' USE_POINTS = True DEMO_PAGE_INTRO_HTML = '' PARTICIPANT_FIELDS = ['treatment', 'earning'] SESSION_FIELDS = [] ROOMS = [ dict( name='experiment', display_name='Labor Experiment', participant_label_file='_rooms/experiment.txt', use_secure_urls=False ), ] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') SECRET_KEY = 'blahblah' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree']