class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='School', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255, verbose_name='name')), ], ), migrations.CreateModel( name='Wave', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('start', models.DateTimeField()), ('end', models.DateTimeField()), ('num_days_to_rsvp', models.IntegerField()), ('is_walk_in_wave', models.BooleanField(default=False, verbose_name='Is this wave for walk-ins?')), ], ), migrations.CreateModel( name='Application', fields=[ ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('datetime_submitted', models.DateTimeField(auto_now_add=True)), ('status', models.CharField(choices=[('P', 'Under Review'), ('R', 'Waitlisted'), ('A', 'Admitted'), ('C', 'Confirmed'), ('X', 'Declined'), ('I', 'Checked in'), ('E', 'Expired')], default='P', max_length=1)), ('first_name', models.CharField(max_length=255, verbose_name='first name')), ('last_name', models.CharField(max_length=255, verbose_name='last name')), ('extra_links', models.CharField(blank=True, max_length=200, verbose_name="Point us to anything you'd like us to look at while considering your application")), ('question1', models.TextField(max_length=500, verbose_name='Tell us your best programming joke')), ('question2', models.TextField(max_length=500, verbose_name="What is the one thing you'd build if you had unlimited resources?")), ('question3', models.TextField(max_length=500, verbose_name="What is a cool prize you'd like to win at Hacklahoma?")), ('resume', models.FileField(help_text='Companies will use this resume to offer interviews for internships and full-time positions.', upload_to=application.models.uuid_generator, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['pdf'])], verbose_name='Upload your resume (PDF only)')), ('major', models.CharField(max_length=255, verbose_name="What's your major?")), ('classification', models.CharField(choices=[('Fr', 'Freshman'), ('So', 'Sophomore'), ('Jr', 'Junior'), ('Sr', 'Senior'), ('Ma', "Master's Student"), ('PhD', 'PhD Student'), ('O', 'Other')], max_length=3, verbose_name='What classification are you?')), ('gender', models.CharField(choices=[('NA', 'Prefer not to answer'), ('M', 'Male'), ('F', 'Female'), ('NB', 'Non-binary'), ('X', 'Prefer to self-describe')], default='NA', max_length=2, verbose_name="What's your gender?")), ('gender_other', models.CharField(blank=True, max_length=255, null=True, verbose_name='Self-describe')), ('race', multiselectfield.db.fields.MultiSelectField(choices=[('AI', 'American Indian or Alaskan Native'), ('AS', 'Asian'), ('BL', 'Black or African-American'), ('HI', 'Hispanic or Latino'), ('NH', 'Native Hawaiian or other Pacific Islander'), ('WH', 'White'), ('NA', 'Prefer not to answer'), ('O', 'Prefer to self-describe')], max_length=41, verbose_name='What race(s) do you identify with?')), ('race_other', models.CharField(blank=True, max_length=255, null=True, verbose_name='Self-describe')), ('grad_year', models.IntegerField(choices=[(2021, 2021), (2022, 2022), (2023, 2023), (2024, 2024), (2025, 2025)], verbose_name='What is your anticipated graduation year?')), ('num_hackathons_attended', models.CharField(choices=[('0', 'This will be my first!'), ('1-3', '1-3'), ('4-7', '4-7'), ('8-10', '8-10'), ('10+', '10+')], max_length=22, verbose_name='How many hackathons have you attended?')), ('agree_to_coc', models.BooleanField(choices=[(True, 'Agree')], default=None)), ('is_adult', models.BooleanField(choices=[(True, 'Agree')], default=None, help_text='Please note that freshmen under 18 must be accompanied by an adult or prove that they go to Texas A&M.', verbose_name='Please confirm you are 18 or older.')), ('shirt_size', models.CharField(choices=[('WXXS', "Women's XXS"), ('WXS', "Women's XS"), ('WS', "Women's S"), ('WM', "Women's M"), ('WL', "Women's L"), ('WXL', "Women's XL"), ('WXXL', "Women's XXL"), ('XXS', 'Unisex XXS'), ('XS', 'Unisex XS'), ('S', 'Unisex S'), ('M', 'Unisex M'), ('L', 'Unisex L'), ('XL', 'Unisex XL'), ('XXL', 'Unisex XXL')], max_length=4, verbose_name='What size shirt do you wear?')), ('transport_needed', models.CharField(choices=[('D', 'Driving'), ('B', 'Bus (Greyhound, Megabus, etc.)'), ('F', 'Flying'), ('P', 'Public Transportation'), ('M', 'Walking/Biking')], max_length=11, verbose_name='How will you be getting to the event?')), ('travel_reimbursement', models.BooleanField(default=False, help_text='Travel reimbursement is only provided if you stay the whole time and submit a project.', verbose_name="I'd like to apply for travel reimbursement")), ('additional_accommodations', models.TextField(blank=True, max_length=500, verbose_name='Do you require any special accommodations at the event?')), ('dietary_restrictions', models.CharField(choices=[('None', None), ('Vegan', 'Vegan'), ('Vegetarian', 'Vegetarian'), ('Halal', 'Halal'), ('Kosher', 'Kosher'), ('Gluten-free', 'Gluten-free'), ('Food allergy', 'Food allergy'), ('Other', 'Other')], default='None', max_length=50, verbose_name='Do you have any dietary restrictions?')), ('confirmation_deadline', models.DateTimeField(blank=True, null=True)), ('notes', models.TextField(blank=True, max_length=300, verbose_name='Anything else you would like us to know?')), ('school', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='application.School', verbose_name='What school do you go to?')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations = [ migrations.CreateModel( name='ClientUser', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')), ('first_name', models.CharField(blank=True, max_length=30, verbose_name='first name')), ('last_name', models.CharField(blank=True, max_length=150, verbose_name='last name')), ('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')), ('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')), ('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')), ('email', models.EmailField(max_length=254, unique=True, verbose_name='email address')), ('is_manager', models.BooleanField(default=False)), ('client_company_id', models.IntegerField()), ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', 'abstract': False, }, managers=[ ('objects', application.models.ClientUserManager()), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="School", fields=[ ( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("name", models.CharField(max_length=255, verbose_name="name")), ], ), migrations.CreateModel( name="Wave", fields=[ ( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("start", models.DateTimeField()), ("end", models.DateTimeField()), ("num_days_to_rsvp", models.IntegerField()), ( "is_walk_in_wave", models.BooleanField( default=False, verbose_name="Is this wave for walk-ins?"), ), ], ), migrations.CreateModel( name="Application", fields=[ ( "id", models.UUIDField( default=uuid.uuid4, editable=False, primary_key=True, serialize=False, ), ), ("datetime_submitted", models.DateTimeField(auto_now_add=True)), ( "status", models.CharField( choices=[ ("P", "Under Review"), ("R", "Waitlisted"), ("A", "Admitted"), ("C", "Confirmed"), ("X", "Declined"), ("I", "Checked in"), ("E", "Expired"), ], default="P", max_length=1, ), ), ( "first_name", models.CharField(max_length=255, verbose_name="first name"), ), ( "last_name", models.CharField(max_length=255, verbose_name="last name"), ), ( "extra_links", models.CharField( blank=True, max_length=200, verbose_name= "Point us to anything you'd like us to look at while considering your application", ), ), ( "question1", models.TextField( max_length=500, verbose_name="Tell us your best programming joke", ), ), ( "question2", models.TextField( max_length=500, verbose_name= "What is the one thing you'd build if you had unlimited resources?", ), ), ( "question3", models.TextField( max_length=500, verbose_name= "What is a cool prize you'd like to win at TAMUhack?", ), ), ( "resume", models.FileField( help_text= "Companies will use this resume to offer interviews for internships and full-time positions.", upload_to=application.models.uuid_generator, validators=[ django.core.validators.FileExtensionValidator( allowed_extensions=["pdf"]) ], verbose_name="Upload your resume (PDF only)", ), ), ( "major", models.CharField(max_length=255, verbose_name="What's your major?"), ), ( "classification", models.CharField( choices=[ ("Fr", "Freshman"), ("So", "Sophomore"), ("Jr", "Junior"), ("Sr", "Senior"), ("Ma", "Master's Student"), ("PhD", "PhD Student"), ("O", "Other"), ], max_length=3, verbose_name="What classification are you?", ), ), ( "gender", models.CharField( choices=[ ("NA", "Prefer not to answer"), ("M", "Male"), ("F", "Female"), ("NB", "Non-binary"), ("X", "Prefer to self-describe"), ], default="NA", max_length=2, verbose_name="What's your gender?", ), ), ( "gender_other", models.CharField( blank=True, max_length=255, null=True, verbose_name="Self-describe", ), ), ( "race", multiselectfield.db.fields.MultiSelectField( choices=[ ("AI", "American Indian or Alaskan Native"), ("AS", "Asian"), ("BL", "Black or African-American"), ("HI", "Hispanic or Latino"), ("NH", "Native Hawaiian or other Pacific Islander"), ("WH", "White"), ("NA", "Prefer not to answer"), ("O", "Prefer to self-describe"), ], max_length=41, verbose_name="What race(s) do you identify with?", ), ), ( "race_other", models.CharField( blank=True, max_length=255, null=True, verbose_name="Self-describe", ), ), ( "grad_year", models.IntegerField( choices=[ (2020, 2020), (2021, 2021), (2022, 2022), (2023, 2023), (2024, 2024), ], verbose_name= "What is your anticipated graduation year?", ), ), ( "num_hackathons_attended", models.CharField( choices=[ ("0", "This will be my first!"), ("1-3", "1-3"), ("4-7", "4-7"), ("8-10", "8-10"), ("10+", "10+"), ], max_length=22, verbose_name="How many hackathons have you attended?", ), ), ( "agree_to_coc", models.BooleanField(choices=[(True, "Agree")], default=None), ), ( "is_adult", models.BooleanField( choices=[(True, "Agree")], default=None, help_text= "Please note that freshmen under 18 must be accompanied by an adult or prove that they go to Texas A&M.", verbose_name="Please confirm you are 18 or older.", ), ), ( "shirt_size", models.CharField( choices=[ ("WXXS", "Women's XXS"), ("WXS", "Women's XS"), ("WS", "Women's S"), ("WM", "Women's M"), ("WL", "Women's L"), ("WXL", "Women's XL"), ("WXXL", "Women's XXL"), ("XXS", "Unisex XXS"), ("XS", "Unisex XS"), ("S", "Unisex S"), ("M", "Unisex M"), ("L", "Unisex L"), ("XL", "Unisex XL"), ("XXL", "Unisex XXL"), ], max_length=4, verbose_name="What size shirt do you wear?", ), ), ( "transport_needed", models.CharField( choices=[ ("D", "Driving"), ("B", "TAMUhack Bus"), ("BUT", "TAMUhack Bus - UT Austin"), ("BUTD", "TAMUhack Bus - UT Dallas"), ("BUTA", "TAMUhack Bus - UT Arlington"), ("BUTSA", "TAMUhack Bus - UTSA"), ("BUTRGV", "TAMUhack Bus - UTRGV"), ("OB", "Other Bus (Greyhound, Megabus, etc.)"), ("F", "Flying"), ("P", "Public Transportation"), ("M", "Walking/Biking"), ], max_length=11, verbose_name="How will you be getting to the event?", ), ), ( "travel_reimbursement", models.BooleanField( default=False, help_text= "Travel reimbursement is only provided if you stay the whole time and submit a project.", verbose_name= "I'd like to apply for travel reimbursement", ), ), ( "additional_accommodations", models.TextField( blank=True, max_length=500, verbose_name= "Do you require any special accommodations at the event?", ), ), ( "dietary_restrictions", models.CharField( choices=[ ("None", None), ("Vegan", "Vegan"), ("Vegetarian", "Vegetarian"), ("Halal", "Halal"), ("Kosher", "Kosher"), ("Gluten-free", "Gluten-free"), ("Food allergy", "Food allergy"), ("Other", "Other"), ], default="None", max_length=50, verbose_name="Do you have any dietary restrictions?", ), ), ("confirmation_deadline", models.DateTimeField(blank=True, null=True)), ( "notes", models.TextField( blank=True, max_length=300, verbose_name="Anything else you would like us to know?", ), ), ( "school", models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, to="application.School", verbose_name="What school do you go to?", ), ), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='HistoricalApplication', fields=[ ('id', models.BigIntegerField(blank=True, db_index=True)), ('client_id', models.CharField( db_index=True, default=oauth2_provider.generators.generate_client_id, max_length=100)), ('redirect_uris', models.TextField( blank=True, help_text='Allowed URIs list, space separated')), ('client_type', models.CharField(choices=[('confidential', 'Confidential'), ('public', 'Public')], max_length=32)), ('authorization_grant_type', models.CharField(choices=[ ('authorization-code', 'Authorization code'), ('implicit', 'Implicit'), ('password', 'Resource owner password-based'), ('client-credentials', 'Client credentials') ], max_length=32)), ('client_secret', models.CharField( blank=True, db_index=True, default=oauth2_provider.generators.generate_client_secret, max_length=255)), ('name', models.CharField(blank=True, max_length=255)), ('skip_authorization', models.BooleanField(default=False)), ('created', models.DateTimeField(blank=True, editable=False)), ('updated', models.DateTimeField(blank=True, editable=False)), ('description', models.TextField()), ('logo', models.TextField(blank=True, max_length=100, null=True)), ('is_anonymous', models.BooleanField( default=False, help_text= 'Valid for complete anonymous apps. Requires admin permission' )), ('required_scopes', models.CharField( blank=True, help_text= 'Default non-tracking permissions. Valid only if application is anonymous', max_length=256, null=True)), ('private_scopes', models.CharField(blank=True, help_text='Private API scopes', max_length=256, null=True)), ('website', models.URLField(blank=True, null=True)), ('privacy_policy', models.URLField( blank=True, help_text='Link of privacy policy of application', null=True)), ('created_on', models.DateTimeField(blank=True, editable=False)), ('modified_on', models.DateTimeField(blank=True, editable=False)), ('history_id', models.AutoField(primary_key=True, serialize=False)), ('history_date', models.DateTimeField()), ('history_change_reason', models.CharField(max_length=100, null=True)), ('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)), ('history_user', models.ForeignKey( null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)), ('user', models.ForeignKey( blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'historical application', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date', }, bases=(simple_history.models.HistoricalChanges, models.Model), ), migrations.CreateModel( name='Application', fields=[ ('id', models.BigAutoField(primary_key=True, serialize=False)), ('client_id', models.CharField( db_index=True, default=oauth2_provider.generators.generate_client_id, max_length=100, unique=True)), ('redirect_uris', models.TextField( blank=True, help_text='Allowed URIs list, space separated')), ('client_type', models.CharField(choices=[('confidential', 'Confidential'), ('public', 'Public')], max_length=32)), ('authorization_grant_type', models.CharField(choices=[ ('authorization-code', 'Authorization code'), ('implicit', 'Implicit'), ('password', 'Resource owner password-based'), ('client-credentials', 'Client credentials') ], max_length=32)), ('client_secret', models.CharField( blank=True, db_index=True, default=oauth2_provider.generators.generate_client_secret, max_length=255)), ('name', models.CharField(blank=True, max_length=255)), ('skip_authorization', models.BooleanField(default=False)), ('created', models.DateTimeField(auto_now_add=True)), ('updated', models.DateTimeField(auto_now=True)), ('description', models.TextField()), ('logo', models.ImageField( blank=True, null=True, upload_to=application.models.application_logo)), ('is_anonymous', models.BooleanField( default=False, help_text= 'Valid for complete anonymous apps. Requires admin permission' )), ('required_scopes', models.CharField( blank=True, help_text= 'Default non-tracking permissions. Valid only if application is anonymous', max_length=256, null=True)), ('private_scopes', models.CharField(blank=True, help_text='Private API scopes', max_length=256, null=True)), ('website', models.URLField(blank=True, null=True)), ('privacy_policy', models.URLField( blank=True, help_text='Link of privacy policy of application', null=True)), ('created_on', models.DateTimeField(auto_now_add=True)), ('modified_on', models.DateTimeField(auto_now=True)), ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='application_application', to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, ), ]
class Migration(migrations.Migration): dependencies = [ ('application', '0002_remove_application_facebook'), ] operations = [ migrations.RemoveField( model_name='application', name='description', ), migrations.RemoveField( model_name='application', name='diet', ), migrations.RemoveField( model_name='application', name='essay', ), migrations.RemoveField( model_name='application', name='shirt_size', ), migrations.RemoveField( model_name='application', name='shirt_style', ), migrations.RemoveField( model_name='application', name='special_needs', ), migrations.RemoveField( model_name='application', name='university', ), migrations.AddField( model_name='application', name='can_move', field=models.BooleanField(default=False), ), migrations.AddField( model_name='application', name='city', field=models.CharField(blank=True, max_length=200, null=True), ), migrations.AddField( model_name='application', name='country', field=models.CharField(blank=True, max_length=200, null=True), ), migrations.AddField( model_name='application', name='course', field=models.CharField(blank=True, max_length=30, null=True), ), migrations.AddField( model_name='application', name='cpf', field=models.CharField(default='', max_length=20, validators=[application.models.CPFValidator(0, 'CPF inválido')]), ), migrations.AddField( model_name='application', name='dream_company', field=models.CharField(blank=True, max_length=100, null=True), ), migrations.AddField( model_name='application', name='education', field=models.CharField(choices=[('Ensino Fundamental', 'Ensino Fundamental'), ('Ensino Médio', 'Ensino Médio'), ('Graduação', 'Graduação'), ('Mestrado', 'Mestrado'), ('MBA', 'MBA'), ('Doutorado', 'Doutorado'), ('Pós Doutorado', 'Pós Doutorado')], default='', max_length=20), ), migrations.AddField( model_name='application', name='english_level', field=models.CharField(blank=True, choices=[('basic', 'Básico'), ('intermediate', 'Intermediário'), ('advanced', 'Avançado')], max_length=20, null=True), ), migrations.AddField( model_name='application', name='excel_level', field=models.CharField(blank=True, choices=[('basic', 'Básico'), ('intermediate', 'Intermediário'), ('advanced', 'Avançado')], max_length=20, null=True), ), migrations.AddField( model_name='application', name='extra_courses', field=models.TextField(blank=True, null=True), ), migrations.AddField( model_name='application', name='first_timer', field=models.BooleanField(default=True), ), migrations.AddField( model_name='application', name='interests', field=models.CharField(default='', max_length=200), ), migrations.AddField( model_name='application', name='other_languages', field=models.CharField(blank=True, max_length=200, null=True), ), migrations.AddField( model_name='application', name='referrer', field=models.CharField(default='', max_length=100), ), migrations.AddField( model_name='application', name='school', field=models.CharField(blank=True, max_length=100, null=True), ), migrations.AddField( model_name='application', name='state', field=models.CharField(blank=True, max_length=200, null=True), ), migrations.AddField( model_name='application', name='time_slots', field=models.CharField(blank=True, max_length=200, null=True), ), migrations.AlterField( model_name='application', name='age', field=models.IntegerField(validators=[django.core.validators.MinValueValidator(5, 'A idade mínima é 5 anos.')]), ), migrations.AlterField( model_name='application', name='enroll_year', field=models.IntegerField(null=True, verbose_name=[django.core.validators.MinValueValidator(1900, 'Hmm, como?'), django.core.validators.MaxValueValidator(2019), 'Hmm, como?']), ), migrations.AlterField( model_name='application', name='phone', field=models.CharField(max_length=20, null=True), ), ]
class Migration(migrations.Migration): dependencies = [ ('application', '0026_auto_20201030_0358'), ] operations = [ migrations.AlterField( model_name='application', name='agree_to_coc', field=models.BooleanField(choices=[(True, 'Agree'), (False, 'Disagree')], default=None), ), migrations.AlterField( model_name='application', name='birthday', field=models.CharField(max_length=255, null=True, verbose_name='birthday'), ), migrations.AlterField( model_name='application', name='interested_in_hacklahoma', field=models.BooleanField( choices=[(True, 'Agree'), (False, 'Disagree')], default=None, verbose_name= 'Are you interested in joining the Hacklahoma 2022 team?'), ), migrations.AlterField( model_name='application', name='is_adult', field=models.BooleanField( choices=[(True, 'Agree'), (False, 'Disagree')], default=None, verbose_name='Please confirm you are 18 or older.'), ), migrations.AlterField( model_name='application', name='liability_waiver', field=models.BooleanField(choices=[(True, 'Agree'), (False, 'Disagree')], default=None, verbose_name='Liability Waiver'), ), migrations.AlterField( model_name='application', name='mlh_authorize', field=models.BooleanField( choices=[(True, 'Agree'), (False, 'Disagree')], default=None, verbose_name= 'I authorize Major League Hacking to send me occasional messages about hackathons.' ), ), migrations.AlterField( model_name='application', name='photo_release', field=models.BooleanField( choices=[(True, 'Agree'), (False, 'Disagree')], default=None, verbose_name= "I authorize Hacklahoma to release and photo's with me in it." ), ), migrations.AlterField( model_name='application', name='resume', field=models.FileField( blank=True, help_text= 'Companies will use this resume to offer interviews for internships and full-time positions.', null=True, upload_to=application.models.uuid_generator, validators=[ django.core.validators.FileExtensionValidator( allowed_extensions=['pdf']) ], verbose_name='Upload your resume (PDF only)'), ), ]
class Migration(migrations.Migration): dependencies = [ ('application', '0019_auto_20201030_0135'), ] operations = [ migrations.AddField( model_name='application', name='additional_accommodations', field=models.TextField(blank=True, max_length=500, verbose_name='Do you require any special accommodations at the event?'), ), migrations.AddField( model_name='application', name='agree_to_coc', field=models.BooleanField(choices=[(True, 'Agree')], default=None), ), migrations.AddField( model_name='application', name='birthday', field=models.CharField(max_length=255, null=True, verbose_name='birth day'), ), migrations.AddField( model_name='application', name='confirmation_deadline', field=models.DateTimeField(blank=True, null=True), ), migrations.AddField( model_name='application', name='dietary_restrictions', field=models.ManyToManyField(blank=True, to='application.DietaryRestriction'), ), migrations.AddField( model_name='application', name='dietary_restrictions_other', field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Self-describe'), ), migrations.AddField( model_name='application', name='email', field=models.CharField(max_length=255, null=True, verbose_name='email address'), ), migrations.AddField( model_name='application', name='gender', field=models.CharField(choices=[('NA', 'Prefer not to answer'), ('M', 'Male'), ('F', 'Female'), ('NB', 'Non-binary'), ('X', 'Other')], default='NA', max_length=2, verbose_name="What's your gender?"), ), migrations.AddField( model_name='application', name='gender_other', field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Other'), ), migrations.AddField( model_name='application', name='graduation_year', field=models.IntegerField(choices=[('N', 'N/A'), ('2020', '2020'), ('2021', '2021'), ('2022', '2022'), ('2023', '2023')], null=True, verbose_name='What is your anticipated graduation year?'), ), migrations.AddField( model_name='application', name='interested_in_hacklahoma', field=models.BooleanField(choices=[(True, 'Agree')], default=None, verbose_name='Are you interesetd in joining the Hacklahoma 2022 team?'), ), migrations.AddField( model_name='application', name='is_adult', field=models.BooleanField(choices=[(True, 'Agree')], default=None, help_text='Please note that freshmen under 18 must be accompanied by an adult or prove that they go to Texas A&M.', verbose_name='Please confirm you are 18 or older.'), ), migrations.AddField( model_name='application', name='level_of_study', field=models.CharField(choices=[('H', 'High school'), ('T', 'Tech school'), ('U', 'Undergrad univsity'), ('G', 'Graduate university')], default='NA', max_length=2, verbose_name='What is your most current level of study?'), ), migrations.AddField( model_name='application', name='liability_waiver', field=models.BooleanField(choices=[(True, 'Agree')], default=None, verbose_name='Liability Waiver'), ), migrations.AddField( model_name='application', name='major', field=models.CharField(max_length=255, null=True, verbose_name="What's your major?"), ), migrations.AddField( model_name='application', name='mlh_authorize', field=models.BooleanField(choices=[(True, 'Agree')], default=None, verbose_name='I authorize Major League Hacking to send me occasional messages about hackathons.'), ), migrations.AddField( model_name='application', name='notes', field=models.TextField(blank=True, max_length=300, verbose_name='Anything else you would like us to know?'), ), migrations.AddField( model_name='application', name='num_hackathons_attended', field=models.IntegerField(null=True, verbose_name='How many hackathons have you attended?'), ), migrations.AddField( model_name='application', name='phone_number', field=models.IntegerField(null=True, verbose_name='phone number'), ), migrations.AddField( model_name='application', name='photo_release', field=models.BooleanField(choices=[(True, 'Agree')], default=None, verbose_name='I agree to have '), ), migrations.AddField( model_name='application', name='pronouns', field=models.CharField(default='', max_length=255, verbose_name='pronouns'), ), migrations.AddField( model_name='application', name='question1', field=models.TextField(max_length=500, null=True, verbose_name='Why is the history of computing so important?'), ), migrations.AddField( model_name='application', name='question2', field=models.TextField(max_length=500, null=True, verbose_name='What workshops do you want to see at Hacklahoma?'), ), migrations.AddField( model_name='application', name='question3', field=models.TextField(max_length=500, null=True, verbose_name='What kind of prizes do you want to see at Hacklahoma?'), ), migrations.AddField( model_name='application', name='race', field=multiselectfield.db.fields.MultiSelectField(choices=[('AI', 'American Indian or Alaskan Native'), ('AS', 'Asian'), ('BL', 'Black or African-American'), ('HI', 'Hispanic or Latino'), ('NH', 'Native Hawaiian or other Pacific Islander'), ('WH', 'White'), ('NA', 'Prefer not to answer'), ('O', 'Other')], max_length=41, null=True, verbose_name='What race(s) do you identify with?'), ), migrations.AddField( model_name='application', name='race_other', field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Other'), ), migrations.AddField( model_name='application', name='resume', field=models.FileField(help_text='Companies will use this resume to offer interviews for internships and full-time positions.', null=True, upload_to=application.models.uuid_generator, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['pdf'])], verbose_name='Upload your resume (PDF only)'), ), migrations.AddField( model_name='application', name='school', field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='application.School', verbose_name='What school do you go to?'), ), migrations.AddField( model_name='application', name='school_other', field=models.CharField(blank=True, max_length=255, null=True), ), migrations.AddField( model_name='application', name='shirt_size', field=models.CharField(choices=[('XXS', 'Unisex XXS'), ('XS', 'Unisex XS'), ('S', 'Unisex S'), ('M', 'Unisex M'), ('L', 'Unisex L'), ('XL', 'Unisex XL'), ('XXL', 'Unisex XXL')], max_length=4, null=True, verbose_name='What size shirt do you wear?'), ), migrations.AddField( model_name='application', name='social_links', field=models.CharField(blank=True, max_length=200, verbose_name="Point us to any social links you'd like us to look at while considering your application"), ), migrations.AddField( model_name='application', name='transport_needed', field=models.CharField(choices=[('D', 'Driving'), ('OB', 'Bus (Greyhound, Megabus, etc.)'), ('F', 'Flying'), ('P', 'Public Transportation'), ('M', 'Walking/Biking')], max_length=11, null=True, verbose_name='How will you be getting to the event?'), ), migrations.AddField( model_name='application', name='travel_reimbursement', field=models.BooleanField(default=False, help_text='Travel reimbursement is only provided if you stay the whole time and submit a project.', verbose_name="I'd like to apply for travel reimbursement"), ), migrations.AddField( model_name='application', name='where_did_you_hear', field=multiselectfield.db.fields.MultiSelectField(choices=[('SM', 'Social media'), ('FR', 'Friend'), ('EM', 'Email'), ('FL', 'Flyer'), ('IC', 'In class'), ('ML', 'Major League Hacking'), ('O', 'Other')], max_length=41, null=True, verbose_name='How did you hear about Hacklahoma?'), ), migrations.AddField( model_name='application', name='where_did_you_hear_other', field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Other'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('hacker', '0001_initial'), ] operations = [ migrations.CreateModel( name='Application', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('phone', models.CharField(max_length=20, null=True)), ('gender', models.CharField(choices=[('M', 'Masculino'), ('F', 'Feminino'), ('O', 'Outro'), ('NA', 'Prefiro não dizer')], max_length=2)), ('age', models.IntegerField(validators=[ django.core.validators.MinValueValidator( 5, 'A idade mínima é 5 anos.') ])), ('enroll_year', models.IntegerField( null=True, validators=[ django.core.validators.MinValueValidator( 1900, 'Hmm, como?'), django.core.validators.MaxValueValidator( 2020, 'Hmm, como?') ])), ('cv_type', models.CharField(blank=True, choices=[('LI', 'LinkedIn'), ('GH', 'GitHub'), ('WS', 'Website'), ('UP', 'Upload'), ('OT', 'Outro')], max_length=3, null=True)), ('cv', models.CharField(blank=True, max_length=300, null=True)), ('cv2_type', models.CharField(blank=True, choices=[('LI', 'LinkedIn'), ('GH', 'GitHub'), ('WS', 'Website'), ('OT', 'Outro')], max_length=3, null=True)), ('cv2', models.CharField(blank=True, max_length=300, null=True)), ('hacker', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to='hacker.Hacker')), ('can_move', models.BooleanField(blank=True, default=False)), ('city', models.CharField(blank=True, max_length=200, null=True)), ('country', models.CharField( blank=True, choices=[ ['Afeganistão', 'Afeganistão'], ['África do Sul', 'África do Sul'], ['Albânia', 'Albânia'], ['Alemanha', 'Alemanha'], ['Andorra', 'Andorra'], ['Angola', 'Angola'], ['Anguilla', 'Anguilla'], ['Antártida', 'Antártida' ], ['Antígua & Barbuda', 'Antígua & Barbuda'], ['Arábia Saudita', 'Arábia Saudita'], ['Argélia', 'Argélia'], ['Argentina', 'Argentina'], ['Armênia', 'Armênia' ], ['Aruba', 'Aruba'], ['Austrália', 'Austrália'], ['Áustria', 'Áustria' ], ['Azerbaijão', 'Azerbaijão'], ['Bahamas', 'Bahamas'], ['Bahrein', 'Bahrein'], ['Bangladesh', 'Bangladesh'], ['Barbados', 'Barbados' ], ['Belarus', 'Belarus'], ['Bélgica', 'Bélgica'], ['Belize', 'Belize' ], ['Benin', 'Benin'], ['Bermudas', 'Bermudas' ], ['Bolívia', 'Bolívia' ], [ 'Bonaire, St. Eustatius & Saba', 'Bonaire, St. Eustatius & Saba' ], ['Bósnia-Herzegovina', 'Bósnia-Herzegovina'], ['Botsuana', 'Botsuana'], ['Brasil', 'Brasil'], ['Brunei', 'Brunei'], ['Bulgária', 'Bulgária'], ['Burkina Faso', 'Burkina Faso'], ['Burundi', 'Burundi'], ['Butão', 'Butão' ], ['Cabo Verde', 'Cabo Verde'], [ 'Camarões', 'Camarões' ], ['Camboja', 'Camboja' ], ['Canadá', 'Canadá'], ['Cazaquistão', 'Cazaquistão'], ['Chade', 'Chade'], ['Chile', 'Chile'], ['China', 'China'], ['Chipre', 'Chipre'], ['Cingapura', 'Cingapura'], ['Colômbia', 'Colômbia'], ['Congo', 'Congo' ], ['Coréia do Norte', 'Coréia do Norte'], ['Coréia do Sul', 'Coréia do Sul'], ['Costa do Marfim', 'Costa do Marfim'], ['Costa Rica', 'Costa Rica'], ['Croácia', 'Croácia'], ['Cuba', 'Cuba'], ['Curaçao', 'Curaçao' ], ['Dinamarca', 'Dinamarca'], ['Djibuti', 'Djibuti' ], ['Dominica', 'Dominica'], ['Egito', 'Egito'], ['El Salvador', 'El Salvador'], ['Emirados Árabes Unidos', 'Emirados Árabes Unidos'], ['Equador', 'Equador'], ['Eritréia', 'Eritréia'], ['Eslováquia', 'Eslováquia' ], ['Eslovênia', 'Eslovênia'], ['Espanha', 'Espanha' ], ['Estados Unidos', 'Estados Unidos'], ['Estônia', 'Estônia' ], ['Etiópia', 'Etiópia'], ['Federação Russa', 'Federação Russa'], ['Fiji', 'Fiji'], ['Filipinas', 'Filipinas'], ['Finlândia', 'Finlândia'], ['França', 'França'], ['Gabão', 'Gabão' ], ['Gâmbia', 'Gâmbia'], ['Gana', 'Gana'], ['Geórgia', 'Geórgia' ], ['Gibraltar', 'Gibraltar' ], [ 'Grã-Bretanha (Reino Unido)', 'Grã-Bretanha (Reino Unido)' ], ['Granada', 'Granada'], ['Grécia', 'Grécia'], ['Groelândia', 'Groelândia'], ['Guadalupe', 'Guadalupe'], [ 'Guam (Território dos Estados Unidos)', 'Guam (Território dos Estados Unidos)' ], ['Guatemala', 'Guatemala'], ['G|Guernsey', 'G|Guernsey'], ['Guiana', 'Guiana'], ['Guiana Francesa', 'Guiana Francesa'], ['Guiné', 'Guiné'], ['Guiné Equatorial', 'Guiné Equatorial' ], ['Guiné-Bissau', 'Guiné-Bissau'], ['Haiti', 'Haiti'], ['Holanda', 'Holanda' ], ['Honduras', 'Honduras'], ['Hong-Kong', 'Hong-Kong'], ['Hungria', 'Hungria' ], ['Iêmen', 'Iêmen'], [ 'Ilha Bouvet (Território da Noruega)', 'Ilha Bouvet (Território da Noruega)' ], ['Ilha do Homem', 'Ilha do Homem'], ['Ilha Natal', 'Ilha Natal'], ['Ilha Pitcairn', 'Ilha Pitcairn'], ['Ilha Reunião', 'Ilha Reunião'], ['Ilhas Aland', 'Ilhas Aland'], ['Ilhas Cayman', 'Ilhas Cayman'], ['Ilhas Cocos', 'Ilhas Cocos'], ['Ilhas Comores', 'Ilhas Comores'], ['Ilhas Cook', 'Ilhas Cook'], ['Ilhas Faroes', 'Ilhas Faroes'], [ 'Ilhas Falkland (Malvinas)', 'Ilhas Falkland (Malvinas)' ], [ 'Ilhas Geórgia do Sul e Sandwich do Sul', 'Ilhas Geórgia do Sul e Sandwich do Sul' ], [ 'Ilhas Heard e McDonald (Território da Austrália)', 'Ilhas Heard e McDonald (Território da Austrália)' ], [ 'Ilhas Marianas do Norte', 'Ilhas Marianas do Norte' ], ['Ilhas Marshall', 'Ilhas Marshall'], [ 'Ilhas Menores dos Estados Unidos', 'Ilhas Menores dos Estados Unidos' ], ['Ilhas Norfolk', 'Ilhas Norfolk'], ['Ilhas Seychelles', 'Ilhas Seychelles'], ['Ilhas Solomão', 'Ilhas Solomão'], [ 'Ilhas Svalbard & Jan Mayen', 'Ilhas Svalbard & Jan Mayen' ], ['Ilhas Tokelau', 'Ilhas Tokelau'], ['Ilhas Turks e Caicos', 'Ilhas Turks e Caicos'], [ 'Ilhas Virgens (Estados Unidos)', 'Ilhas Virgens (Estados Unidos)' ], [ 'Ilhas Virgens (Inglaterra)', 'Ilhas Virgens (Inglaterra)' ], ['Ilhas Wallis & Futuna', 'Ilhas Wallis & Futuna'], ['Índia', 'Índia'], ['Indonésia', 'Indonésia'], ['Irã', 'Irã'], ['Iraque', 'Iraque'], ['Irlanda', 'Irlanda'], ['Islândia', 'Islândia'], ['Israel', 'Israel'], ['Itália', 'Itália'], ['Jamaica', 'Jamaica'], ['Japão', 'Japão'], ['Jersey', 'Jersey'], ['Jordânia', 'Jordânia'], ['Kiribati', 'Kiribati'], ['Kuait', 'Kuait'], ['Laos', 'Laos'], ['Látvia', 'Látvia'], ['Lesoto', 'Lesoto'], ['Líbano', 'Líbano'], ['Libéria', 'Libéria'], ['Líbia', 'Líbia'], ['Liechtenstein', 'Liechtenstein'], ['Lituânia', 'Lituânia'], ['Luxemburgo', 'Luxemburgo'], ['Macau', 'Macau'], [ 'Macedônia (República Yugoslava)', 'Macedônia (República Yugoslava)' ], ['Madagascar', 'Madagascar'], ['Malásia', 'Malásia'], ['Malaui', 'Malaui'], ['Maldivas', 'Maldivas'], ['Mali', 'Mali'], ['Malta', 'Malta'], ['Marrocos', 'Marrocos'], ['Martinica', 'Martinica'], ['Maurício', 'Maurício'], ['Mauritânia', 'Mauritânia'], ['Mayotte', 'Mayotte'], ['México', 'México'], ['Micronésia', 'Micronésia'], ['Moçambique', 'Moçambique'], ['Moldova', 'Moldova'], ['Mônaco', 'Mônaco'], ['Mongólia', 'Mongólia'], ['Montenegro', 'Montenegro'], ['Montserrat', 'Montserrat'], ['Myanmar', 'Myanmar'], ['Namíbia', 'Namíbia'], ['Nauru', 'Nauru'], ['Nepal', 'Nepal'], ['Nicarágua', 'Nicarágua'], ['Níger', 'Níger'], ['Nigéria', 'Nigéria'], ['Niue', 'Niue'], ['Noruega', 'Noruega'], ['Nova Caledônia', 'Nova Caledônia'], ['Nova Zelândia', 'Nova Zelândia'], ['Omã', 'Omã'], ['Palau', 'Palau'], ['Panamá', 'Panamá'], ['Papua-Nova Guiné', 'Papua-Nova Guiné'], ['Paquistão', 'Paquistão'], ['Paraguai', 'Paraguai'], ['Peru', 'Peru'], ['Polinésia Francesa', 'Polinésia Francesa'], ['Polônia', 'Polônia'], ['Porto Rico', 'Porto Rico'], ['Portugal', 'Portugal'], ['Qatar', 'Qatar'], ['Quênia', 'Quênia'], ['Quirguistão', 'Quirguistão'], [ 'República Centro-Africana', 'República Centro-Africana' ], [ 'República Democrática do Congo', 'República Democrática do Congo' ], ['República Dominicana', 'República Dominicana'], ['República Tcheca', 'República Tcheca'], ['Romênia', 'Romênia'], ['Ruanda', 'Ruanda'], ['Saara Ocidental', 'Saara Ocidental'], [ 'Saint Vincent e Granadinas', 'Saint Vincent e Granadinas' ], ['Samoa Ocidental', 'Samoa Ocidental'], ['Samoa Ocidental', 'Samoa Ocidental'], ['San Marino', 'San Marino'], ['Santa Helena', 'Santa Helena'], ['Santa Lúcia', 'Santa Lúcia'], ['São Bartolomeu', 'São Bartolomeu'], ['São Cristóvão e Névis', 'São Cristóvão e Névis'], ['San Martin', 'San Martin'], ['São Tomé e Príncipe', 'São Tomé e Príncipe'], ['Senegal', 'Senegal'], ['Sierra Leoa', 'Sierra Leoa'], ['Sérvia', 'Sérvia'], ['Síria', 'Síria'], ['Somália', 'Somália'], ['Sri Lanka', 'Sri Lanka'], ['St. Maarten', 'St. Maarten'], ['St.Pierre & Miquelon', 'St.Pierre & Miquelon'], ['Suazilândia', 'Suazilândia'], ['Sudão', 'Sudão'], ['Sudão do Sul', 'Sudão do Sul'], ['Suécia', 'Suécia'], ['Suíça', 'Suíça'], ['Suriname', 'Suriname'], ['Tadjiquistão', 'Tadjiquistão'], ['Tailândia', 'Tailândia'], ['Taiwan', 'Taiwan'], ['Tanzânia', 'Tanzânia'], [ 'Território Britânico do Oceano Índico', 'Território Britânico do Oceano Índico' ], [ 'Territórios do Sul da França', 'Territórios do Sul da França' ], [ 'Territórios Palestinos Ocupados', 'Territórios Palestinos Ocupados' ], ['Timor Leste', 'Timor Leste'], ['Togo', 'Togo'], ['Tonga', 'Tonga'], ['Trinidad & Tobago', 'Trinidad & Tobago'], ['Tunísia', 'Tunísia'], ['Turcomenistão', 'Turcomenistão'], ['Turquia', 'Turquia'], ['Tuvalu', 'Tuvalu'], ['Ucrânia', 'Ucrânia'], ['Uganda', 'Uganda'], ['Uruguai', 'Uruguai'], ['Uzbequistão', 'Uzbequistão'], ['Vanuatu', 'Vanuatu'], ['Vaticano', 'Vaticano'], ['Venezuela', 'Venezuela'], ['Vietnã', 'Vietnã'], ['Zâmbia', 'Zâmbia'], ['Zimbábue', 'Zimbábue'] ], max_length=200, null=True)), ('course', models.CharField(blank=True, max_length=100, null=True)), ('cpf', models.CharField(default='', max_length=20, validators=[ application.models.CPFValidator( 0, 'CPF inválido') ])), ('dream_company', models.CharField(blank=True, max_length=100, null=True)), ('education', models.CharField(default='', max_length=20)), ('english_level', models.CharField(blank=True, choices=[('basic', 'Básico'), ('intermediate', 'Intermediário'), ('advanced', 'Avançado')], max_length=20, null=True)), ('excel_level', models.CharField(blank=True, choices=[('basic', 'Básico'), ('intermediate', 'Intermediário'), ('advanced', 'Avançado')], max_length=20, null=True)), ('extra_courses', models.TextField(blank=True, null=True)), ('first_timer', models.BooleanField(default=True)), ('interests', models.CharField(default='', max_length=200)), ('other_languages', models.CharField(blank=True, max_length=200, null=True)), ('referrer', models.CharField(default='', max_length=100)), ('school', models.CharField(blank=True, max_length=100, null=True)), ('state', models.CharField(blank=True, max_length=200, null=True)), ('time_slots', models.CharField(blank=True, max_length=200, null=True)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('is_superuser', models.BooleanField( default=False, help_text= 'Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')), ('email', models.EmailField(max_length=254, unique=True, verbose_name='email address')), ('first_name', models.CharField(blank=True, max_length=30, verbose_name='first name')), ('last_name', models.CharField(blank=True, max_length=30, verbose_name='last name')), ('date_joined', models.DateTimeField(auto_now_add=True, verbose_name='date joined')), ('is_active', models.BooleanField(default=True, verbose_name='active')), ('position', models.IntegerField(choices=[(1, 'Developer'), ( 2, 'Team Lead'), (3, 'Project Manager'), (4, 'CEO'), (5, 'CTO')])), ('hour_salary', models.FloatField()), ('groups', models.ManyToManyField( blank=True, help_text= 'The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('user_permissions', models.ManyToManyField( blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', }, managers=[ ('objects', application.models.UserManager()), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Challenges', fields=[ ('challenge_id', models.AutoField(primary_key=True, serialize=False)), ('is_visible', models.BooleanField(default=False)), ('title', models.TextField()), ('limitDate', models.DateTimeField(blank=True, null=True)), ('description', models.TextField()), ('nbSubmit', models.IntegerField(default=0)), ('nbStudent', models.IntegerField(default=0)), ('inputExt', models.TextField()), ('inputParam', models.TextField()), ('command', models.TextField()), ('scriptFile', models.FileField(upload_to=application.models.script_path)), ('args', djongo.models.fields.ListField(default=[])), ('outputs', djongo.models.fields.ListField(default=[])), ('scoreKeys', djongo.models.fields.ListField(default=[])), ('enable_edit_group', models.BooleanField(default=False)), ('enable_delete_submission', models.BooleanField(default=False)), ], options={ 'db_table': 'challenges', }, ), migrations.CreateModel( name='Course', fields=[ ('course_id', models.AutoField(primary_key=True, serialize=False)), ('description', models.TextField()), ('freqSubmit', models.IntegerField(default=0)), ('nbSubmit', models.IntegerField(default=-1)), ('nbStudent', models.IntegerField(default=-1)), ('owner', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'course', }, ), migrations.CreateModel( name='TruthFile', fields=[ ('file_id', models.AutoField(primary_key=True, serialize=False)), ('file', models.FileField(default='', upload_to=application.models.truth_path)), ('param', models.TextField()), ('challenge', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Challenges')), ('course', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Course')), ], options={ 'db_table': 'truthFile', }, ), migrations.CreateModel( name='Submission', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_submit', models.DateTimeField(default=django.utils.timezone.now)), ('score', djongo.models.fields.ListField(default=[])), ('input_file', models.FileField( upload_to=application.models.directory_path)), ('status', models.CharField(choices=[('PENDING', 'PENDING'), ('SUCCESS', 'SUCCESS'), ('FAIL', 'FAIL')], default='PENDING', max_length=10)), ('tags', djongo.models.fields.ListField(default=[])), ('challenge', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Challenges')), ('user', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'submission', }, ), migrations.CreateModel( name='Output', fields=[ ('file_id', models.AutoField(primary_key=True, serialize=False)), ('file', models.FileField(upload_to=application.models.outputs_path)), ('ext', models.TextField()), ('param', models.TextField()), ('course', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Course')), ('submission', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Submission')), ], options={ 'db_table': 'output', }, ), migrations.CreateModel( name='Management', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('is_course_admin', models.BooleanField(default=False)), ('is_group_admin', models.BooleanField(default=False)), ('course', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Course')), ('user', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'management', }, ), migrations.CreateModel( name='Groups', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('group_id', models.IntegerField()), ('owner', models.BooleanField(default=False)), ('challenge', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Challenges')), ('user', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'groups', }, ), migrations.CreateModel( name='Enrollment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('course', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Course')), ('user', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'enrollment', }, ), migrations.CreateModel( name='Dataset', fields=[ ('file_id', models.AutoField(primary_key=True, serialize=False)), ('file', models.FileField(upload_to=application.models.dataset_path)), ('challenge', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Challenges')), ('course', models.ForeignKey(error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Course')), ], options={ 'db_table': 'dataset', }, ), migrations.AddField( model_name='challenges', name='course', field=models.ForeignKey( error_messages={'invalide': "n'éxiste pas"}, on_delete=django.db.models.deletion.CASCADE, to='application.Course'), ), migrations.AddConstraint( model_name='management', constraint=models.UniqueConstraint(fields=('user', 'course'), name='UNIQUE_MANAGEMENT_ENTRY'), ), migrations.AddConstraint( model_name='groups', constraint=models.UniqueConstraint(fields=('user', 'challenge'), name='UNIQUE_GROUP_ENTRY'), ), migrations.AddConstraint( model_name='enrollment', constraint=models.UniqueConstraint(fields=('user', 'course'), name='UNIQUE_ENROLLMENT_ENTRY'), ), migrations.AlterUniqueTogether( name='challenges', unique_together={('title', 'course'), ('challenge_id', 'course')}, ), ]