Commit Graph

16 Commits

Author SHA1 Message Date
Christopher C. Wells 1d492e4163 Refactor core form tests for better organization and coverage 2020-01-31 09:09:01 -08:00
Christopher C. Wells a8abfb725f Add generic "Amount" field to Diaper Change model (#77) 2020-01-26 13:22:20 -08:00
Christopher C. Wells 4397d4a406 Add temperature tracking. 2019-05-16 21:33:26 -07:00
Christopher Charbonneau Wells 5dc372281b Remove all unicode_literals imports. 2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells b972482cb1 Don't require color for solid diaper change entries. 2018-02-16 09:33:30 -05:00
Christopher Charbonneau Wells 067be4bf07 Add weight tracking. 2017-11-09 21:15:09 -05:00
Christopher Charbonneau Wells 1c5278cebf Verify necessary fields before running model validation tests. 2017-11-07 07:07:51 -05:00
Christopher Charbonneau Wells e6acfe4e75 Add date intersection validation for models with start and end dates. 2017-11-05 14:18:30 -05:00
Christopher Charbonneau Wells df5c3e98b9 Add core templatetags tests and update some docstrings. 2017-11-03 23:55:42 -04:00
Christopher Charbonneau Wells fe3e753d65 Update tests for new validators. 2017-11-03 23:29:55 -04:00
Christopher Charbonneau Wells 237796a644 Move form clean methods to models. 2017-11-01 16:14:42 -04:00
Bob Thomas 1eeba2398d Add validation for model durations
It was previously possible to accidentally enter obviously wrong values
for start/end dates. Add some basic validation to catch input errors
when creating or editing various models (when not using a timer).
2017-11-01 12:44:07 -04:00
Christopher Charbonneau Wells 40f8a511ba Adjust existing tests for form validation updates. 2017-10-31 21:01:21 -04:00
Christopher Charbonneau Wells 5afc55ca31 Make Timer instance.start field editable. 2017-10-28 13:27:33 -04:00
Christopher Charbonneau Wells f23ea78cef Linting fixes. 2017-10-22 15:05:58 -04:00
Christopher Charbonneau Wells 2ca120b83f Add core forms tests. 2017-10-21 23:00:28 -04:00