-
Notifications
You must be signed in to change notification settings - Fork 12
Hint 3
Sébastiaan edited this page Nov 23, 2020
·
7 revisions
Once again we go back to the analysis.
- It's about users.
- We need to add a field to the profile.
- It's a field for the shoe size.
- The field should only accept values from 39 until 47.
- It can be empty.
- It should be editable on the admin member edit page.
- It should be visible on the public user profiles.
This hint is about the third bullet (surprise): It's a field for the shoe size.
In the previous step you should have added an IntegerField
to the Profile
model. However, if you followed the hint, you haven't given it a name yet. Give the field a sensible attribute name and take a look at the documentation about adding a verbose name.
You can find a spoiler here.