import os from os import environ # oTree settings (tested with v5.x) DEBUG = True ADMIN_USERNAME = 'admin' ADMIN_PASSWORD = 'otree' # Database DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'db.sqlite3', } } # Language and timezone LANGUAGE_CODE = 'en' TIME_ZONE = 'UTC' USE_TZ = True # REQUIRED: SESSION_CONFIG_DEFAULTS with participation_fee SESSION_CONFIG_DEFAULTS = { 'participation_fee': 0.00, # or whatever amount you pay 'real_world_currency_per_point': 0.00, } # Your experiment(s) SESSION_CONFIGS = [ { 'name': 'memory_exp', 'display_name': "Memory Experiment", 'num_demo_participants': 3, 'app_sequence': ['experiment'], 'participation_fee': 0.00, # can also be set per session }, ] # Security SECRET_KEY = 'dev-secret-key-change-this-for-production' ALLOWED_HOSTS = ['*'] # Static files STATIC_ROOT = os.path.join(os.path.dirname(__file__), '_static') STATIC_URL = '/_static/' # Rooms (optional) ROOMS = []