Christopher C. Wells
48a0093700
Add general notes to most models
2020-02-16 15:09:57 -08:00
Christopher C. Wells
60cd90ca80
Use `last()` instead of `latest()`
...
With `latest()`, an exception is thrown if there is one child in the database and no feeding entries.
2020-02-08 14:02:47 -08:00
Christopher C. Wells
3eb0e336c6
Refactor core forms on a base class to handle initial values
2020-01-31 09:09:01 -08:00
Christopher C. Wells
4e01365e85
Set Child from an argument instead of the timer
2020-01-31 09:09:01 -08:00
Christopher C. Wells
5e9946ecd6
Respect child if set when setting feeding defaults
2020-01-31 09:09:01 -08:00
Christopher C. Wells
b31d9194d9
Include child when setting defaults from timer
2020-01-31 09:09:01 -08:00
Christopher C. Wells
c80ec252bc
Add optional Child to Timer model
2020-01-31 09:09:01 -08:00
Christopher C. Wells
475b7abf78
Apply custom style to `.datetimepicker-input`
2020-01-31 08:47:03 -08:00
Christopher C. Wells
b8e2416cd1
Set all datetime fields to `readonly`
2020-01-31 08:47:03 -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 C. Wells
bd4705b77f
Add translateable strings support in core app.
2019-04-13 22:51:44 -07:00
Christopher Charbonneau Wells
7c980150a4
Make sure there is at least one Feeding object before attempting to preset the type for a new entry.
2018-04-07 06:35:35 -07:00
Christopher Charbonneau Wells
cdaef446a0
Automatically fill in the type field for a new Feeding entry with the value used for the latest entry.
2018-03-13 19:49:21 -07:00
Christopher Charbonneau Wells
b10944b030
Fix datetime picker class name for time form fields.
2018-03-13 19:17:30 -07:00
Christopher Charbonneau Wells
5dc372281b
Remove all unicode_literals imports.
2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells
5ad656060f
Fix bug keeping datetime input open after losing focus.
2018-01-14 09:39:06 -05:00
Isaac Bythewood
969958df09
Move ALLOW_UPLOADS to BABY_BUDDY dict
2017-12-03 04:39:43 -05:00
Isaac Bythewood
a503d346ae
Make ALLOW_UPLOADS a setting dependent on user preference and platform
2017-11-18 20:59:51 -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
f947d37285
Add default Child to Note add form.
2017-11-09 19:50:54 -05:00
Christopher Charbonneau Wells
237796a644
Move form clean methods to models.
2017-11-01 16:14:42 -04:00
Christopher Charbonneau Wells
492bcddeb4
Add confirmation form for Child delete.
2017-10-31 20:49:10 -04:00
Christopher Charbonneau Wells
c565bfc59a
Add some model form validation for Diaper Change and Feeding.
2017-10-31 15:26:37 -04:00
Christopher Charbonneau Wells
5afc55ca31
Make Timer instance.start field editable.
2017-10-28 13:27:33 -04:00
Christopher Charbonneau Wells
98963572ba
Use form classes to set appropriate field attributes in date/time fields.
...
Using a custom input element in the template caused issues with default values (e.g. when set by a timer).
2017-09-17 15:48:23 -04:00
Christopher Charbonneau Wells
115ef15c48
Fix timer add form to include user.
2017-09-10 09:50:16 -04:00
Christopher Charbonneau Wells
32da7873fa
Add a timer edit flow.
2017-09-10 05:11:09 -04:00
Christopher Charbonneau Wells
476b7ece70
Add a timer form template.
2017-09-10 04:56:06 -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
7f5a40ae41
Add ability to stop a timer (WIP).
...
This commit handles everything except including the timer in the timers list in the UI. This may require changing the model declaration to make the "active" field more complex or add another field.
2017-09-08 14:36:22 -04:00
Christopher Charbonneau Wells
f08ec94e3c
Stop timer on instance save instead of form load.
2017-08-18 01:53:48 -04:00
Christopher Charbonneau Wells
62a1142ad6
Add ability to create instances from timer detail view.
2017-08-18 00:42:37 -04:00
Christopher Charbonneau Wells
0c9b953ab4
Default Child foreign keys if only instance exists.
2017-08-17 20:59:55 -04:00
Christopher Charbonneau Wells
ac2cc8ec5f
Assign user field during Timer instance save.
2017-08-17 20:42:47 -04:00
Christopher Charbonneau Wells
72b1f3e37b
Add ability to create a Timer.
2017-08-16 21:57:01 -04:00
Christopher Charbonneau Wells
79472dcdbe
Add an amount field to the Feeding model.
2017-08-16 18:07:25 -04:00
Christopher Charbonneau Wells
48f8c11408
Add date/time picker to other model fields.
2017-08-16 14:57:46 -04:00
Christopher Charbonneau Wells
0209314d0f
Add Tempus Dominus date/time picker library and use for Baby birth date.
2017-08-16 14:17:27 -04:00
Christopher Charbonneau Wells
18aa7020be
Revert django-angular dependency commits.
2017-08-15 14:58:17 -04:00
Christopher Charbonneau Wells
ee3b6d8988
Update django-angular dependency and improve example form (WIP).
2017-08-15 14:07:06 -04:00
Christopher Charbonneau Wells
2247d5f9e6
Add an initial New Baby form (WIP).
2017-08-13 18:25:05 -04:00