Skip to content

Commit 40ffc8d

Browse files
committed
PPHA-483: Reword Id prefer not to say
1 parent 2864655 commit 40ffc8d

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Generated by Django 5.2.10 on 2026-01-19 10:47
2+
3+
import django.contrib.postgres.fields
4+
import lung_cancer_screening.questions.models.validators.singleton_option
5+
from django.db import migrations, models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('questions', '0041_alter_educationresponse_value'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='educationresponse',
17+
name='value',
18+
field=django.contrib.postgres.fields.ArrayField(base_field=models.CharField(choices=[('X', 'I finished school before the age of 15'), ('G', 'GCSEs'), ('A', 'A-levels'), ('F', 'Further education'), ('B', "Bachelor's degree"), ('P', 'Postgraduate degree'), ('N', 'Prefer not to say')], max_length=1), size=None, validators=[lung_cancer_screening.questions.models.validators.singleton_option.validate_singleton_option]),
19+
),
20+
]

lung_cancer_screening/questions/models/education_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class EducationValues(models.TextChoices):
1313
FURTHER_EDUCATION = "F", "Further education"
1414
BACHELORS_DEGREE = "B", "Bachelor's degree"
1515
POSTGRADUATE_DEGREE = "P", "Postgraduate degree"
16-
PREFER_NOT_TO_SAY = "N", "I'd prefer not to say"
16+
PREFER_NOT_TO_SAY = "N", "Prefer not to say"
1717

1818

1919
class EducationResponse(BaseModel):

0 commit comments

Comments
 (0)