# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2019-05-27 14:31 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import otree.db.models import otree_save_the_change.mixins import radiogrid.db class Migration(migrations.Migration): initial = True dependencies = [ ('otree', '0001_initial'), ] operations = [ migrations.CreateModel( name='Group', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('id_in_subsession', otree.db.models.PositiveIntegerField(db_index=True, null=True)), ('round_number', otree.db.models.PositiveIntegerField(db_index=True, null=True)), ('session', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='survey_group', to='otree.Session')), ], options={ 'db_table': 'survey_group', }, bases=(otree_save_the_change.mixins.SaveTheChange, models.Model), ), migrations.CreateModel( name='Player', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('id_in_group', otree.db.models.PositiveIntegerField(db_index=True, null=True)), ('_payoff', otree.db.models.CurrencyField(default=0, null=True)), ('round_number', otree.db.models.PositiveIntegerField(db_index=True, null=True)), ('_gbat_arrived', otree.db.models.BooleanField(choices=[(True, 'Yes'), (False, 'No')], default=False)), ('_gbat_grouped', otree.db.models.BooleanField(choices=[(True, 'Yes'), (False, 'No')], default=False)), ('age', otree.db.models.IntegerField(null=True, verbose_name='What is your age?')), ('gender', otree.db.models.IntegerField(choices=[[1, 'Male'], [2, 'Female'], [3, 'Non-binary'], [4, 'My gender is not listed']], null=True, verbose_name='What gender do you consider yourself to be?')), ('education', otree.db.models.IntegerField(choices=[[1, 'Not completed one year yet'], [2, 'One year'], [3, 'Two years'], [4, 'Three or more years']], null=True, verbose_name='How many years of higher level (i.e., university) education have you completed at this point?')), ('careers', radiogrid.db.RadioGridField(null=True, require_all_fields=True, rows=([1, 'Journalist'], [2, 'Local politician'], [3, 'Economist'], [4, 'Member of parliament'], [5, 'News anchor on television'], [6, 'Business owner'], [7, 'Chef'], [8, 'Actor'], [9, 'Accountant'], [10, 'Lawyer'], [11, 'School teacher or principal'], [12, 'Musician'], [13, 'Nurse'], [14, 'Caretaker'], [15, 'Office administrator']), values=((1, 'No'), (2, 'Yes')), verbose_name='Of the careers listed below, please select all the ones you would potentially be interested in (whether it relates to your actual career or not.')), ('own_characteristics', radiogrid.db.RadioGridField(null=True, require_all_fields=True, rows=((1, 'Affectionate'), (2, 'Aggressive'), (3, 'Competitive'), (4, 'Confident'), (5, 'Defends own beliefs'), (6, 'Dominant'), (7, 'Gentle'), (8, 'Has leadership abilities'), (9, 'Sensitive to needs of others'), (10, 'Strong personality'), (11, 'Sympathetic'), (12, 'Has greater overall abilities than the average person'), (13, 'Warm'), (14, 'Willing to take risks')), values=((1, 'Strongly disagree'), (2, 'Disagree'), (3, 'Somewhat disagree'), (4, 'Somewhat agree'), (5, 'Agree'), (6, 'Strongly disagree')), verbose_name='For each characteristic below, please rate from strongly disagree to strongly agree how much you agree that the characteristic describes you.')), ('identity', radiogrid.db.RadioGridField(null=True, require_all_fields=True, rows=((1, 'Being a part of the many generations of my family'), (2, 'My race or ethnic background'), (3, 'My personal goals and hopes for the future'), (4, 'My religion'), (5, 'My emotions and feelings'), (6, 'My age, belonging to my age group or being part of my generation'), (7, 'My feeling of belonging to my community'), (8, 'My sex or my gender'), (9, 'My occupational choice and career plans'), (10, 'My commitments on political issues or my political activities')), values=((1, 'Not important to my identity'), (2, 'Slightly important to my identity'), (3, 'Somewhat important to my identity'), (4, 'Very important to my identity'), (5, 'Extremely important to my identity')), verbose_name='These items describe different aspects of identity. Please read each item carefully and consider how it applies to you.')), ('media_earnings', otree.db.models.CurrencyField(default=0, null=True)), ('s1q1', otree.db.models.IntegerField(choices=[[1, 'Statement 1.'], [2, 'Statement 2.']], null=True, verbose_name='Which of the above two statements is more accurate?')), ('s1q2', otree.db.models.IntegerField(choices=[[1, 'Although unemployment, including youth unemployment, is at a low level right now, there are still concerns due to the long period of economic downturn.'], [2, 'Other countries are faring much better in terms of unemployment, even if things are going well here.'], [3, 'The National Statistics Organisation has not collected figures on the level of unemployment yet.']], null=True, verbose_name='What is an accurate summary of the article?')), ('s2q1', otree.db.models.IntegerField(choices=[[1, 'Yes.'], [2, 'No.']], null=True, verbose_name='Is the subject of the article appointed to the Culture committee according to the article?')), ('s2q2', otree.db.models.IntegerField(choices=[[1, 'Yes.'], [2, 'No.']], null=True, verbose_name='Is the statement above in line with what the article said?')), ('s3q1', otree.db.models.IntegerField(choices=[[1, 'Yes.'], [2, 'No.']], null=True, verbose_name='Do all the parties agree that the youth worker card should be reinstated without changing the initiative?')), ('s3q2', otree.db.models.IntegerField(choices=[[1, 'It allows workers under the age of 30 to travel to job interviews for free.'], [2, 'It allows workers under the age of 30 to travel for free if their place of work is far from their home.']], null=True, verbose_name='What benefit does the youth worker card give?')), ('s4q1', otree.db.models.IntegerField(choices=[[1, 'Yes.'], [2, 'No.']], null=True, verbose_name='According to the study, is youth unemployment a national health issue?')), ('s4q2', otree.db.models.IntegerField(choices=[[1, 'Yes.'], [2, 'No.']], null=True, verbose_name='Is the statement above in line with what the article said?')), ('s5q1', otree.db.models.IntegerField(choices=[[1, 'Yes.'], [2, 'No.']], null=True, verbose_name='Is the statement above in line with what the article said?')), ('s5q2', otree.db.models.IntegerField(choices=[[1, '0.8 points.'], [2, '0.5 points.'], [3, '0.2 points.']], null=True, verbose_name='Having a partner increased happiness of respondents in the survey by 0.6 points. How much did doubling a person’s income increase their happiness?')), ('expressive1', otree.db.models.IntegerField(choices=[[1, 'Yes.'], [2, 'No.']], null=True, verbose_name='Would you like to learn a little more about running for office?')), ('expressive2', otree.db.models.IntegerField(choices=[[1, 'Yes.'], [2, 'No.']], null=True, verbose_name='Would you like to learn a little more about running for office and campaign logistics?')), ('nascent', otree.db.models.IntegerField(choices=[[1, 'Not at all interested'], [2, 'Not very interested'], [3, 'Maybe interested'], [4, 'Definitely interested']], null=True, verbose_name='How interested are you in becoming a candidate in politics at some point?')), ('state_of_world', radiogrid.db.RadioGridField(null=True, require_all_fields=True, rows=((1, 'Although men and women are equally needed in society, there are certain jobs that women are better at than men and other jobs that men are better at than women.'), (2, 'Although many people think women cannot do certain things well, I like to prove them wrong.'), (3, 'It is important for people, including myself, to be part of making changes in the world that make it more equal for everybody.'), (4, 'The way the world is right now, only exceptional women can make it in the most powerful places in society.')), values=((1, 'Strongly disagree'), (2, 'Disagree'), (3, 'Somewhat disagree'), (4, 'Somewhat agree'), (5, 'Agree'), (6, 'Strongly disagree')), verbose_name='Below is a list of statements. Please rate, from strongly disagree to strongly agree, how much you agree with the statement.')), ('opinion_samples', radiogrid.db.RadioGridField(null=True, require_all_fields=True, rows=((1, 'I enjoyed reading the samples.'), (2, 'I found it easy to understand the information presented in the samples.'), (3, 'The samples helped me understand youth unemployment.'), (4, 'I felt that some of the samples (text or images) were of better journalistic or entertainment quality than others.'), (5, 'I felt that some of the samples (text or images) did not treat men and women the same, in the way that they described or presented people.')), values=((1, 'Strongly disagree'), (2, 'Disagree'), (3, 'Somewhat disagree'), (4, 'Somewhat agree'), (5, 'Agree'), (6, 'Strongly disagree')), verbose_name='Thinking of the media articles you were shown today, please rate from strongly disagree to strongly agree how much you agree with the following statements.')), ('media_habits', radiogrid.db.RadioGridField(null=True, require_all_fields=True, rows=((1, 'Read/watch/listen to political news'), (2, 'Read/watch/listen to financial news'), (3, 'Read/watch/listen to celebrity news'), (4, 'Read/watch/listen to sports news'), (5, 'Watch documentaries (movies or series)'), (6, 'Watch romantic comedies (movies or series)'), (7, 'Watch criminal dramas (movies or series)'), (8, 'Watch music videos'), (9, 'Use Twitter'), (10, 'Use Facebook'), (11, 'Use Instagram'), (12, 'Read blogs'), (13, 'Read fashion magazines'), (14, 'Read sports magazines'), (15, 'Read business magazines'), (16, 'Play video games')), values=((1, '0 days'), (2, '1-2 days'), (3, '3-4 days'), (4, '5-6 days'), (5, '7 days')), verbose_name='Please indicate for each item how many days in a normal week you would do the following.')), ('most_people', radiogrid.db.RadioGridField(null=True, require_all_fields=True, rows=((1, 'Most people believe that women are not as capable as men are in high power/status roles like politics'), (2, 'When women are candidates in elections, people are less likely to vote for them than they would have been if they were a man')), values=((1, 'Strongly disagree'), (2, 'Disagree'), (3, 'Somewhat disagree'), (4, 'Somewhat agree'), (5, 'Agree'), (6, 'Strongly disagree')), verbose_name='Please rate your agreement from 0 (strongly disagree) to 5 (strongly agree) with the following statements, which ask about how you think most people (not you personally) feel or act.')), ('group', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='survey.Group')), ('participant', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='survey_player', to='otree.Participant')), ('session', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='survey_player', to='otree.Session')), ], options={ 'db_table': 'survey_player', }, bases=(otree_save_the_change.mixins.SaveTheChange, models.Model), ), migrations.CreateModel( name='Subsession', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('round_number', otree.db.models.PositiveIntegerField(db_index=True, null=True)), ('media_treatment', otree.db.models.StringField(max_length=10000, null=True)), ('username_treatment', otree.db.models.StringField(max_length=10000, null=True)), ('session', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='survey_subsession', to='otree.Session')), ], options={ 'db_table': 'survey_subsession', }, bases=(otree_save_the_change.mixins.SaveTheChange, models.Model), ), migrations.AddField( model_name='player', name='subsession', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='survey.Subsession'), ), migrations.AddField( model_name='group', name='subsession', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='survey.Subsession'), ), ]