From f866fc7767720284e5ec2ab56c4a560b9d984398 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sun, 23 Jun 2024 18:44:55 +0100 Subject: [PATCH] add default of 'all' to ability model --- models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/models.py b/models.py index ca7dedc..c6ef6dd 100644 --- a/models.py +++ b/models.py @@ -15,7 +15,10 @@ dice_model = { # Ability model ability_model = { 'chartype': chartype_field, - 'ability': fields.String(required=False, description='The ability to roll. Not required. Defaults "generic"'), + 'ability': fields.String( + required=False, + default="all", + description='The ability to roll. Not required. Defaults "generic"'), } # Hp model