from os import environ SESSION_CONFIG_DEFAULTS = {"real_world_currency_per_point": 1, "participation_fee": 0} SESSION_CONFIGS = [ { "name": "Self_Cheating", "display_name": "Self Competition (with Cheating)", "num_demo_participants": 1, "app_sequence": ["Game_Self_Cheating", "Questionnaire"], }, { "name": "Other_Cheating", "display_name": "Other Competiton (with cheating)", "num_demo_participants": 2, "app_sequence": ["Game_Other_Cheating", "Questionnaire"], }, ] LANGUAGE_CODE = "zh-hans" REAL_WORLD_CURRENCY_CODE = "CNY" USE_POINTS = False DEMO_PAGE_INTRO_HTML = "" ROOMS = [ dict( name='class1', display_name='class1', participant_label_file='_rooms/class1.txt', use_secure_urls=False ), dict( name='class2', display_name='class2', participant_label_file='_rooms/class2.txt', use_secure_urls=False ), dict( name='class3', display_name='class3', participant_label_file='_rooms/class3.txt', use_secure_urls=False ), dict( name='class4', display_name='class4', participant_label_file='_rooms/class4.txt', use_secure_urls=False ), dict( name='classtest', display_name='Testingroom', participant_label_file='_rooms/test.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"]