From 533b4775bb9adaadcf52281dc86933e8555ff0a0 Mon Sep 17 00:00:00 2001 From: James Meakin <12661555+jmsmkn@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:42:07 +0100 Subject: [PATCH] Correct challenge request defaults (#3737) 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. --- ...gerequest_algorithm_maximum_settable_memory_gb_and_more.py | 4 ++-- app/grandchallenge/challenges/models.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/grandchallenge/challenges/migrations/0045_challengerequest_algorithm_maximum_settable_memory_gb_and_more.py b/app/grandchallenge/challenges/migrations/0045_challengerequest_algorithm_maximum_settable_memory_gb_and_more.py index 690760c82..491519e02 100644 --- a/app/grandchallenge/challenges/migrations/0045_challengerequest_algorithm_maximum_settable_memory_gb_and_more.py +++ b/app/grandchallenge/challenges/migrations/0045_challengerequest_algorithm_maximum_settable_memory_gb_and_more.py @@ -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", @@ -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", diff --git a/app/grandchallenge/challenges/models.py b/app/grandchallenge/challenges/models.py index 366262fd3..2b7fdc49c 100644 --- a/app/grandchallenge/challenges/models.py +++ b/app/grandchallenge/challenges/models.py @@ -955,14 +955,14 @@ class ChallengeRequestStatusChoices(models.TextChoices): help_text="What is your budget for hosting this challenge? Please be reminded of our challenge pricing policy.", ) 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,