Slide 65
Slide 65 text
git reset --hard exercise02.1 | git show solution02.1
Exercise 2.1
•Create a Character model; it should have:
• name – text, up to 200 characters
• background – text, open-ended
• level, experience_points, max_hit_points, current_hit_points – integers
• strength, dexterity, constitution, intelligence, wisdom, charisma – integers
• created, modified – datetimes, automatically populated
• a __str__ method that returns the character’s name