Skip to content

Commit

Permalink
Fixed bug in Demographics
Browse files Browse the repository at this point in the history
- People had to report a minimum of 1 child in their household.
  • Loading branch information
ktrutmann committed Mar 10, 2022
1 parent b35126b commit 37d4608
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Demographics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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.)?<br> '
label='On a scale from 0-5, how much experience do you have with ' +
'investment decisions (i.e. trading stocks / bonds ect.)?<br> ' +
'(0 = No experience at all, 5 = Professional Investor)',
choices=list(range(6)),
widget=widgets.RadioSelectHorizontal())
Expand Down

0 comments on commit 37d4608

Please sign in to comment.