Christopher C. Wells
c80ec252bc
Add optional Child to Timer model
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
b6733650dc
Use get_FOO_display for choices fields in templates
2019-11-09 16:42:51 -08:00
Christopher C. Wells
f270af8cd4
Add "Fortified brest milk" feeding type option ( #71 ).
2019-06-07 07:24:03 -07:00
Christopher C. Wells
4397d4a406
Add temperature tracking.
2019-05-16 21:33:26 -07:00
Christopher C. Wells
0261f39864
Add "both breasts" option for Feeding method ( #52 ).
2019-05-02 10:19:56 -07:00
Christopher C. Wells
185f52b01f
Fix linting issues.
2019-04-18 19:55:55 -07:00
Christopher C. Wells
b4c417ac3d
Add translatable verbose names to all Model fields.
2019-04-14 18:59:16 -07:00
Christopher C. Wells
ee82286da5
Add translatable strings support to formatted strings (WIP).
2019-04-14 14:42:58 -07:00
Christopher C. Wells
bd4705b77f
Add translateable strings support in core app.
2019-04-13 22:51:44 -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
e92d3f361e
Misc. Django 2.0 update changes.
2017-12-03 16:52:27 -05:00
Isaac Bythewood
bf62a4e252
Add ability to upload picture of child with thumbnailing capabilities.
2017-11-18 04:22:12 -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
7955cd04a7
Fix linting error.
2017-11-05 15:02:22 -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
4037f97e72
Add a NapManager to Sleep model and use it on the naps card.
2017-11-04 13:09:27 -04:00
Christopher Charbonneau Wells
f6dd38a891
Make "nap" bounds configurable with a 6AM - 6PM default.
2017-11-04 09:42:18 -04: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
5343db5bbb
Validate model time fields as being in the past.
2017-11-03 21:30:40 -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
5afc55ca31
Make Timer instance.start field editable.
2017-10-28 13:27:33 -04:00
Christopher Charbonneau Wells
03dc139b0e
Explicitly set Timer.duration to None on instance save when the instance is still running.
...
This has to be done because the Timer.from_db() method fills in duration against the current time when the instance is still active. This issue was introduced in fd960cd
.
2017-10-28 12:43:43 -04:00
Christopher Charbonneau Wells
6e936df1bc
Use a from_db class method instead of a separate method to always provider a timer's current duration.
2017-10-27 21:33:26 -04:00
Christopher Charbonneau Wells
05e9927d74
Remove unnecessary "duration_td" Tummy Time method.
2017-10-25 09:45:53 -04:00
Christopher Charbonneau Wells
e3b0fc2468
Remove unused "since" model methods.
...
This "to string" functionality is and should be handled in templates.
2017-10-25 09:19:14 -04:00
Christopher Charbonneau Wells
b393de90dc
Simplify model string names.
2017-10-25 08:58:15 -04:00
Christopher Charbonneau Wells
3d88235eb9
Implement generic, app-specific "icon" style names over FA.
2017-09-15 12:29:56 -04:00
Christopher Charbonneau Wells
c49b8d1930
Simplify core model names.
2017-09-15 11:55:30 -04:00
Christopher Charbonneau Wells
99dcb1e7ca
Fixer Timer.stop method to respect custom end argument.
2017-09-09 13:00:13 -04:00
Christopher Charbonneau Wells
a9bc52dfff
Move timer_stop to a model method and add a restart method.
2017-09-09 12:47:41 -04:00
Christopher Charbonneau Wells
b317c08504
Fix Tummy Time display fields.
2017-09-08 18:03:44 -04:00
Christopher Charbonneau Wells
d11733442d
Add a diaper change types over time report.
2017-08-24 14:54:01 -04:00
Christopher Charbonneau Wells
eefa00bfd3
Add a very basic prototype dashboard for multiple children.
2017-08-24 13:09:56 -04:00
Christopher Charbonneau Wells
6d73cb69f6
Convert duration_string to a template tag (WIP).
2017-08-19 16:46:50 -04:00
Christopher Charbonneau Wells
c5fc35b177
Add an actual duration field to relevant models.
2017-08-19 16:16:42 -04:00
Christopher Charbonneau Wells
25fbf4c4d0
Add Tummy Time day activity card.
2017-08-18 14:58:10 -04:00
Christopher Charbonneau Wells
e92050cb44
Add a Last Diaper Change card.
2017-08-18 11:00:58 -04:00
Christopher Charbonneau Wells
0ed0ae1a94
Add a "since" calculated field to existing models with time data.
2017-08-18 09:43:24 -04:00
Christopher Charbonneau Wells
37f28c3ff7
Add slug field to Child.
2017-08-18 08:12:50 -04:00
Christopher Charbonneau Wells
f15894fac2
Float active timers to top.
2017-08-18 01:56:23 -04:00
Christopher Charbonneau Wells
9ac8432ff8
Do not update Timer.start on save().
2017-08-18 01:01:37 -04:00
Christopher Charbonneau Wells
0f73042bfa
Change Timer string format and allow null name field.
2017-08-17 22:52:41 -04:00
Christopher Charbonneau Wells
1b015d4dde
Add user association to Timer (WIP - adding timer broken)
2017-08-17 14:42:44 -04:00
Christopher Charbonneau Wells
72b1f3e37b
Add ability to create a Timer.
2017-08-16 21:57:01 -04:00
Christopher Charbonneau Wells
1185addace
Add a short param to the duration_string for XhXmXs formatted durations.
2017-08-16 19:08:52 -04:00