diff --git a/hackathon_site/event/migrations/0012_update_mlh_checkbox_text.py b/hackathon_site/event/migrations/0012_update_mlh_checkbox_text.py new file mode 100644 index 0000000..e649288 --- /dev/null +++ b/hackathon_site/event/migrations/0012_update_mlh_checkbox_text.py @@ -0,0 +1,39 @@ +# Generated by Django 3.2.15 on 2026-07-03 22:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("event", "0011_interestsubmission"), + ] + + operations = [ + migrations.AlterField( + model_name="interestsubmission", + name="conduct_agree", + field=models.BooleanField( + default=False, + help_text='I have read and agree to the MLH Code of Conduct.', + ), + ), + migrations.AlterField( + model_name="interestsubmission", + name="email_agree", + field=models.BooleanField( + blank=True, + default=False, + help_text="I authorize MLH + DEV to send me occasional emails about relevant events, career opportunities, and community announcements.", + null=True, + ), + ), + migrations.AlterField( + model_name="interestsubmission", + name="logistics_agree", + field=models.BooleanField( + default=False, + help_text='I authorize you to share my application/registration information with Major League Hacking for event administration, ranking, and administration (including the creation of linked accounts on MLH and DEV (dev.to)) in line with the MLH Privacy Policy. I further agree to the terms of both the MLH Contest Terms and Conditions and the MLH Privacy Policy.', + ), + ), + ] diff --git a/hackathon_site/event/migrations/0013_fix_mlh_dev_link_text.py b/hackathon_site/event/migrations/0013_fix_mlh_dev_link_text.py new file mode 100644 index 0000000..264c766 --- /dev/null +++ b/hackathon_site/event/migrations/0013_fix_mlh_dev_link_text.py @@ -0,0 +1,21 @@ +# Generated by Django 3.2.15 on 2026-07-10 17:04 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("event", "0012_update_mlh_checkbox_text"), + ] + + operations = [ + migrations.AlterField( + model_name="interestsubmission", + name="logistics_agree", + field=models.BooleanField( + default=False, + help_text='I authorize you to share my application/registration information with Major League Hacking for event administration, ranking, and administration (including the creation of linked accounts on MLH and DEV) in line with the MLH Privacy Policy. I further agree to the terms of both the MLH Contest Terms and Conditions and the MLH Privacy Policy.', + ), + ), + ] diff --git a/hackathon_site/event/models.py b/hackathon_site/event/models.py index 53af302..884bf63 100644 --- a/hackathon_site/event/models.py +++ b/hackathon_site/event/models.py @@ -328,25 +328,26 @@ class InterestSubmission(models.Model): # registration.models.Application verbatim. conduct_agree = models.BooleanField( help_text="I have read and agree to the " - 'MLH code of conduct.', + 'MLH Code of Conduct.', blank=False, null=False, default=False, ) logistics_agree = models.BooleanField( help_text="I authorize you to share my application/registration information with Major League Hacking" - " for event administration, ranking, and MLH administration in-line with the " - 'MLH Privacy Policy. ' + " for event administration, ranking, and administration (including the creation of linked accounts on MLH and " + 'DEV) in line with the ' + "MLH Privacy Policy. " "I further agree to the terms of both the " 'MLH Contest Terms and Conditions' " and the " - 'MLH Privacy Policy.', + "MLH Privacy Policy.", blank=False, null=False, default=False, ) email_agree = models.BooleanField( - help_text="I authorize MLH to send me occasional emails about relevant events, career opportunities, and community announcements.", + help_text="I authorize MLH + DEV to send me occasional emails about relevant events, career opportunities, and community announcements.", blank=True, null=True, default=False, diff --git a/hackathon_site/event/tests.py b/hackathon_site/event/tests.py index 95f0e49..51f20a3 100644 --- a/hackathon_site/event/tests.py +++ b/hackathon_site/event/tests.py @@ -138,7 +138,7 @@ def test_interest_form_renders(self): """The public MLH interest form and its checkboxes render on the page.""" response = self.client.get(self.view) self.assertContains(response, "Register Your Interest") - self.assertContains(response, "MLH code of conduct") + self.assertContains(response, "MLH Code of Conduct") self.assertContains(response, 'name="conduct_agree"') self.assertContains(response, 'name="logistics_agree"') self.assertContains(response, 'name="email_agree"') diff --git a/hackathon_site/registration/migrations/0014_update_mlh_checkbox_text.py b/hackathon_site/registration/migrations/0014_update_mlh_checkbox_text.py new file mode 100644 index 0000000..719ab4d --- /dev/null +++ b/hackathon_site/registration/migrations/0014_update_mlh_checkbox_text.py @@ -0,0 +1,39 @@ +# Generated by Django 3.2.15 on 2026-07-03 22:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("registration", "0013_auto_20251128_1027"), + ] + + operations = [ + migrations.AlterField( + model_name="application", + name="conduct_agree", + field=models.BooleanField( + default=False, + help_text='I have read and agree to the MLH Code of Conduct.', + ), + ), + migrations.AlterField( + model_name="application", + name="email_agree", + field=models.BooleanField( + blank=True, + default=False, + help_text="I authorize MLH + DEV to send me occasional emails about relevant events, career opportunities, and community announcements.", + null=True, + ), + ), + migrations.AlterField( + model_name="application", + name="logistics_agree", + field=models.BooleanField( + default=False, + help_text='I authorize you to share my application/registration information with Major League Hacking for event administration, ranking, and administration (including the creation of linked accounts on MLH and DEV (dev.to)) in line with the MLH Privacy Policy. I further agree to the terms of both the MLH Contest Terms and Conditions and the MLH Privacy Policy.', + ), + ), + ] diff --git a/hackathon_site/registration/migrations/0015_fix_mlh_dev_link_text.py b/hackathon_site/registration/migrations/0015_fix_mlh_dev_link_text.py new file mode 100644 index 0000000..885859c --- /dev/null +++ b/hackathon_site/registration/migrations/0015_fix_mlh_dev_link_text.py @@ -0,0 +1,21 @@ +# Generated by Django 3.2.15 on 2026-07-10 17:04 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("registration", "0014_update_mlh_checkbox_text"), + ] + + operations = [ + migrations.AlterField( + model_name="application", + name="logistics_agree", + field=models.BooleanField( + default=False, + help_text='I authorize you to share my application/registration information with Major League Hacking for event administration, ranking, and administration (including the creation of linked accounts on MLH and DEV) in line with the MLH Privacy Policy. I further agree to the terms of both the MLH Contest Terms and Conditions and the MLH Privacy Policy.', + ), + ), + ] diff --git a/hackathon_site/registration/models.py b/hackathon_site/registration/models.py index cbc0c97..00b638e 100644 --- a/hackathon_site/registration/models.py +++ b/hackathon_site/registration/models.py @@ -349,26 +349,27 @@ class Application(models.Model): ) conduct_agree = models.BooleanField( help_text="I have read and agree to the " - 'MLH code of conduct.', + 'MLH Code of Conduct.', blank=False, null=False, default=False, ) logistics_agree = models.BooleanField( help_text="I authorize you to share my application/registration information with Major League Hacking" - " for event administration, ranking, and MLH administration in-line with the " - 'MLH Privacy Policy. ' + " for event administration, ranking, and administration (including the creation of linked accounts on MLH and " + 'DEV) in line with the ' + "MLH Privacy Policy. " "I further agree to the terms of both the " 'MLH Contest Terms and Conditions' " and the " - 'MLH Privacy Policy.', + "MLH Privacy Policy.", blank=False, null=False, default=False, ) email_agree = models.BooleanField( - help_text="I authorize MLH to send me occasional emails about relevant events, career opportunities, and community announcements.", + help_text="I authorize MLH + DEV to send me occasional emails about relevant events, career opportunities, and community announcements.", blank=True, null=True, default=False,