Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions hackathon_site/event/migrations/0012_update_mlh_checkbox_text.py
Original file line number Diff line number Diff line change
@@ -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 <a href="https://github.com/MLH/mlh-policies/blob/main/code-of-conduct.md" rel="noopener noreferrer" target="_blank">MLH Code of Conduct</a>.',
),
),
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 <a href="https://dev.to" rel="noopener noreferrer" target="_blank">DEV (dev.to)</a>) in line with the <a href="https://github.com/MLH/mlh-policies/blob/main/privacy-policy.md" rel="noopener noreferrer" target="_blank">MLH Privacy Policy</a>. I further agree to the terms of both the <a href="https://github.com/MLH/mlh-policies/blob/main/contest-terms.md" rel="noopener noreferrer" target="_blank">MLH Contest Terms and Conditions</a> and the <a href="https://github.com/MLH/mlh-policies/blob/main/privacy-policy.md" rel="noopener noreferrer" target="_blank">MLH Privacy Policy</a>.',
),
),
]
21 changes: 21 additions & 0 deletions hackathon_site/event/migrations/0013_fix_mlh_dev_link_text.py
Original file line number Diff line number Diff line change
@@ -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 <a href="https://dev.to" rel="noopener noreferrer" target="_blank">DEV</a>) in line with the MLH Privacy Policy. I further agree to the terms of both the <a href="https://github.com/MLH/mlh-policies/blob/main/contest-terms.md" rel="noopener noreferrer" target="_blank">MLH Contest Terms and Conditions</a> and the MLH Privacy Policy.',
),
),
]
11 changes: 6 additions & 5 deletions hackathon_site/event/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
'<a href="https://github.com/MLH/mlh-policies/blob/main/code-of-conduct.md" rel="noopener noreferrer" target="_blank">MLH code of conduct</a>.',
'<a href="https://github.com/MLH/mlh-policies/blob/main/code-of-conduct.md" rel="noopener noreferrer" target="_blank">MLH Code of Conduct</a>.',
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 "
'<a href="https://github.com/MLH/mlh-policies/blob/main/privacy-policy.md" rel="noopener noreferrer" target="_blank">MLH Privacy Policy</a>. '
" for event administration, ranking, and administration (including the creation of linked accounts on MLH and "
'<a href="https://dev.to" rel="noopener noreferrer" target="_blank">DEV</a>) in line with the '
"MLH Privacy Policy. "
"I further agree to the terms of both the "
'<a href="https://github.com/MLH/mlh-policies/blob/main/contest-terms.md" rel="noopener noreferrer" target="_blank">MLH Contest Terms and Conditions</a>'
" and the "
'<a href="https://mlh.io/privacy" rel="noopener noreferrer" target="_blank">MLH Privacy Policy.</a>',
"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,
Expand Down
2 changes: 1 addition & 1 deletion hackathon_site/event/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"')
Expand Down
Original file line number Diff line number Diff line change
@@ -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 <a href="https://github.com/MLH/mlh-policies/blob/main/code-of-conduct.md" rel="noopener noreferrer" target="_blank">MLH Code of Conduct</a>.',
),
),
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 <a href="https://dev.to" rel="noopener noreferrer" target="_blank">DEV (dev.to)</a>) in line with the <a href="https://github.com/MLH/mlh-policies/blob/main/privacy-policy.md" rel="noopener noreferrer" target="_blank">MLH Privacy Policy</a>. I further agree to the terms of both the <a href="https://github.com/MLH/mlh-policies/blob/main/contest-terms.md" rel="noopener noreferrer" target="_blank">MLH Contest Terms and Conditions</a> and the <a href="https://github.com/MLH/mlh-policies/blob/main/privacy-policy.md" rel="noopener noreferrer" target="_blank">MLH Privacy Policy</a>.',
),
),
]
Original file line number Diff line number Diff line change
@@ -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 <a href="https://dev.to" rel="noopener noreferrer" target="_blank">DEV</a>) in line with the MLH Privacy Policy. I further agree to the terms of both the <a href="https://github.com/MLH/mlh-policies/blob/main/contest-terms.md" rel="noopener noreferrer" target="_blank">MLH Contest Terms and Conditions</a> and the MLH Privacy Policy.',
),
),
]
11 changes: 6 additions & 5 deletions hackathon_site/registration/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,26 +349,27 @@ class Application(models.Model):
)
conduct_agree = models.BooleanField(
help_text="I have read and agree to the "
'<a href="https://github.com/MLH/mlh-policies/blob/main/code-of-conduct.md" rel="noopener noreferrer" target="_blank">MLH code of conduct</a>.',
'<a href="https://github.com/MLH/mlh-policies/blob/main/code-of-conduct.md" rel="noopener noreferrer" target="_blank">MLH Code of Conduct</a>.',
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 "
'<a href="https://github.com/MLH/mlh-policies/blob/main/privacy-policy.md" rel="noopener noreferrer" target="_blank">MLH Privacy Policy</a>. '
" for event administration, ranking, and administration (including the creation of linked accounts on MLH and "
'<a href="https://dev.to" rel="noopener noreferrer" target="_blank">DEV</a>) in line with the '
"MLH Privacy Policy. "
"I further agree to the terms of both the "
'<a href="https://github.com/MLH/mlh-policies/blob/main/contest-terms.md" rel="noopener noreferrer" target="_blank">MLH Contest Terms and Conditions</a>'
" and the "
'<a href="https://mlh.io/privacy" rel="noopener noreferrer" target="_blank">MLH Privacy Policy.</a>',
"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,
Expand Down
Loading