from os import environ # Secret key used by oTree/Django to sign cookies and sessions. # Change this in production to something private. SECRET_KEY = 'PRUDENT-FINLAND' # Password required to access the oTree admin panel (e.g., /admin/). ADMIN_PASSWORD = 'PRUDENT2026-FINLAND' ADMIN_USERNAME = 'julpic' OTREE_ADMIN_PASSWORD = 'PRUDENT2026-FINLAND' OTREE_ADMIN_NAME = 'julpic' # Default settings applied to all sessions unless overridden. # real_world_currency_per_point: how many USD each point is worth at payout. # participation_fee: flat show-up fee paid regardless of performance. SESSION_CONFIG_DEFAULTS = dict(real_world_currency_per_point=1.0, participation_fee=0.0) # List of session configurations available in the admin panel. # Each dict defines one runnable experiment session: # name : internal identifier (used in URLs) # num_demo_participants : how many participants to create in demo mode # app_sequence : ordered list of oTree apps to run back-to-back # here: first the PD game, then a post-experiment survey_post_treatment SESSION_CONFIGS = [ dict( name='pd_experiment', num_demo_participants=6, app_sequence=['survey_pre_treatment','pd_game','survey_post_treatment'] ) ] # Language for oTree's built-in UI strings (e.g., "Next" button labels). LANGUAGE_CODE = 'en' # The real-world currency label shown to participants alongside point totals. REAL_WORLD_CURRENCY_CODE = 'USD' # If True, payoffs are displayed in "points" rather than dollars during the game. # Points are converted to dollars only at the end, using real_world_currency_per_point. USE_POINTS = True