From 37d4608f99d76175f0c14d79daa41b3873bc33d1 Mon Sep 17 00:00:00 2001 From: ktrutmann Date: Thu, 10 Mar 2022 10:59:06 +0100 Subject: [PATCH] Fixed bug in Demographics - People had to report a minimum of 1 child in their household. --- Demographics/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Demographics/__init__.py b/Demographics/__init__.py index 67a260b..ba4a50d 100644 --- a/Demographics/__init__.py +++ b/Demographics/__init__.py @@ -51,7 +51,7 @@ class Player(BasePlayer): household_size = models.IntegerField( label='How many people (including you) live in your Household?', min=1) household_children = models.IntegerField( - label='How many of the people living in your household are children under the age of 18?', min=1) + label='How many of the people living in your household are children under the age of 18?') ethnicity = models.StringField( label='Please choose the race that you would most consider yourself to be:', choices=['White / Caucasian', 'Black or African American', @@ -83,8 +83,8 @@ class Player(BasePlayer): choices=[[True, 'Yes'], [False, 'No']], widget=widgets.RadioSelectHorizontal()) investment_experience = models.IntegerField( - label='On a scale from 0-5, how much experience do you have with ' - 'investment decisions (i.e. trading stocks / bonds ect.)?
' + label='On a scale from 0-5, how much experience do you have with ' + + 'investment decisions (i.e. trading stocks / bonds ect.)?
' + '(0 = No experience at all, 5 = Professional Investor)', choices=list(range(6)), widget=widgets.RadioSelectHorizontal())