from os import environ # 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. session.config['participation_fee'] SESSION_CONFIG_DEFAULTS = dict( real_world_currency_per_point=1, participation_fee=0.00, doc="" ) SESSION_CONFIGS = [ dict( name='GiversExperiment', display_name="GiversExperiment", num_demo_participants=1, app_sequence=['PreSurvey', 'GiversExperiment'], ), ] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'en' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'INR' USE_POINTS = False ROOMS = [ dict( name='Charity_Experiment_Room', display_name='Charity_Experiment_Room', participant_label_file='_rooms/labels.txt', use_secure_urls=True ) ] ADMIN_USERNAME = 'admin' # for security, best to set admin passwordInput in an environment variable ADMIN_PASSWORD = 'admin' TIME_ZONE = 'Asia/Kolkata' # Replace with your preferred timezone DEMO_PAGE_TITLE = """ Recipes for common tasks in oTree """ DEMO_PAGE_INTRO_HTML = """ Recipes for common tasks in oTree """ # don't share this with anybody. SECRET_KEY = 'fnv*lfr%ghepfge1rg1a56t0sj+9d*p&1+&g%q@j!ju@zu^v@6' SESSION_FIELDS = [ 'completions_by_treatment', 'past_groups', 'matrices', 'wait_for_ids', 'arrived_ids', ] PARTICIPANT_FIELDS = [ 'payoff_game1', 'payoff_game2', 'payoff_game2_round', 'payoff_game3', 'num_correct_answers', 'correct_answer_game1', 'correct_answer_game2', 'correct_answer_game3', 'win', 'contribution', 'selected_random_numbers', 'num_envelopes', 'take_fixed_payment', 'app_payoffs', 'expiry', 'finished_rounds', 'language', 'num_rounds', 'partner_history', 'past_group_id', 'progress', 'quiz_num_correct', 'selected_round', 'task_rounds', 'time_pressure', 'wait_page_arrival', 'expiry', 'page_pass_time', ]