Skip to content

Commit

Permalink
Correct challenge request defaults (#3737)
Browse files Browse the repository at this point in the history
These had been [pre-checked on the
form](https://github.com/comic/grand-challenge.org/pull/3731/files#diff-f578f140394fbfc242dcbbcb8e8af31bcd700285b32677b6e65f3543e01b0c0bL407-L408)
so the correct default was used in #3731 in order to preserve behaviour,
but I'm not sure they should be pre-checked.
  • Loading branch information
jmsmkn authored Dec 10, 2024
1 parent d69c6f1 commit 533b477
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="challengerequest",
name="data_license",
field=models.BooleanField(default=True),
field=models.BooleanField(default=False),
),
migrations.AlterField(
model_name="challengerequest",
Expand All @@ -104,7 +104,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="challengerequest",
name="long_term_commitment",
field=models.BooleanField(default=True),
field=models.BooleanField(default=False),
),
migrations.AlterField(
model_name="challengerequest",
Expand Down
4 changes: 2 additions & 2 deletions app/grandchallenge/challenges/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,14 +955,14 @@ class ChallengeRequestStatusChoices(models.TextChoices):
help_text="What is your budget for hosting this challenge? Please be reminded of our <a href='/challenge-policy-and-pricing/'>challenge pricing policy</a>.",
)
long_term_commitment = models.BooleanField(
default=True,
default=False,
)
long_term_commitment_extra = models.CharField(
max_length=2000,
blank=True,
)
data_license = models.BooleanField(
default=True,
default=False,
)
data_license_extra = models.CharField(
max_length=2000,
Expand Down

0 comments on commit 533b477

Please sign in to comment.