from os import environ SESSION_CONFIGS = [ # dict( # name='public_goods', # display_name="Public Goods", # num_demo_participants=3, # app_sequence=['public_goods', 'payment_info'] # ), ] # 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=1.00, participation_fee=0.00, doc="" ) # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'tr' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'TL' USE_POINTS = True POINTS_CUSTOM_NAME = 'TL' POINTS_DECIMAL_PLACES = 0 ROOMS = [] ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = 'ke66$sklv@iu41a@phy1x%qh5u+ro+fe)biph3r%=m2bq(jz25' # if an app is included in SESSION_CONFIGS, you don't need to list it here INSTALLED_APPS = ['otree'] ROOMS = [ { 'name': 'etkinlik', 'display_name': 'MAIN ROOM', }, { 'name': 'room2', 'display_name': 'ROOM2', }, { 'name': 'room3', 'display_name': 'ROOM3', }, { 'name': 'room4', 'display_name': 'ROOM4', }, # { # 'name': 'birim1', # 'display_name': 'Birim 1', # }, # # { # 'name': 'birim2', # 'display_name': 'Birim 2', # }, # # { # 'name': 'birim3', # 'display_name': 'Birim 3', # }, # { # 'name': 'birim4', # 'display_name': 'Birim 4', # }, # { # 'name': 'birim5', # 'display_name': 'Birim 5', # }, # { # 'name': 'birim6', # 'display_name': 'Birim 6', # }, # { # 'name': 'birim7', # 'display_name': 'Birim 7', # }, # { # 'name': 'birim8', # 'display_name': 'Birim 8', # }, # { # 'name': 'birim9', # 'display_name': 'Birim 9', # }, # # { # 'name': 'birim10', # 'display_name': 'Birim 10', # }, ] SESSION_CONFIGS = [ { 'name': 'all', 'display_name': 'OYUNLAR + TESTLER (START THIS!)', 'num_demo_participants': 1, 'app_sequence': ['idstage', 'ultimatum', 'sabotage', 'trust', 'tests_intro', 'raven', 'egt', 'rat', 'end'], 'real_world_currency_per_point': 1, 'participation_fee': 0, }, # { # 'name': 'games', # 'display_name': 'OYUNLAR (START THIS!)', # 'num_demo_participants': 1, # 'app_sequence': ['idstage', 'ultimatum', 'sabotage', 'trust', 'end'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # { # 'name': 'tests', # 'display_name': 'TESTLER', # 'num_demo_participants': 1, # 'app_sequence': ['raven', 'egt', 'rat', 'end'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'sabotage2', # 'display_name': 'AVATAR- SABOTAGE', # 'num_demo_participants': 1, # 'app_sequence': ['idstage', 'sabotage'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'ultimatum', # 'display_name': 'ULTIMATUM', # 'num_demo_participants': 1, # 'app_sequence': ['ultimatum'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'trust', # 'display_name': 'TRUST', # 'num_demo_participants': 1, # 'app_sequence': ['trust'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'trust_ulti', # 'display_name': 'TRUST-ULTIMATUM', # 'num_demo_participants': 1, # 'app_sequence': ['trust', 'ultimatum'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'sabotage', # 'display_name': 'SABOTAGE', # 'num_demo_participants': 1, # 'app_sequence': ['sabotage'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'all_tests', # 'display_name': 'ALL TESTS', # 'num_demo_participants': 1, # 'app_sequence': ['tests_intro', 'raven','egt', 'rat', 'end'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'tests_intro', # 'display_name': 'TESTS-INTRO', # 'num_demo_participants': 1, # 'app_sequence': ['tests_intro'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'rat', # 'display_name': 'KELIMELER', # 'num_demo_participants': 1, # 'app_sequence': ['rat'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'raven', # 'display_name': 'SEKILLER', # 'num_demo_participants': 1, # 'app_sequence': ['raven'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'egt', # 'display_name': 'GOZLER', # 'num_demo_participants': 1, # 'app_sequence': ['egt'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, # # { # 'name': 'end', # 'display_name': 'SON', # 'num_demo_participants': 1, # 'app_sequence': ['end'], # 'real_world_currency_per_point': 1, # 'participation_fee': 0, # }, ] STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'