X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=bluechips%2Fcontrollers%2Fspend.py;h=8000fd377a8a331b6efc0e73e85f726b1726eda5;hb=6a7b56469afbbe2dab200f6c7a7b523cf2604f37;hp=4e89b35b55c27ed6c0d79cff74609e991aa3d2ae;hpb=2ce02b660a53feb4cc32912bb6e91840e9aae95b;p=bluechips.git diff --git a/bluechips/controllers/spend.py b/bluechips/controllers/spend.py index 4e89b35..8000fd3 100644 --- a/bluechips/controllers/spend.py +++ b/bluechips/controllers/spend.py @@ -42,7 +42,7 @@ class ExpenditureSchema(Schema): pre_validators = [NestedVariables()] spender_id = validators.Int(not_empty=True) amount = model.types.CurrencyValidator(not_empty=True) - description = validators.UnicodeString() + description = validators.UnicodeString(not_empty=True) date = validators.DateConverter() shares = ForEach(ShareSchema) chained_validators = [ValidateNotAllZero]