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
9d0572ba92
Move duration methods in to utils for use elsewhere in the project.
2017-08-25 16:33:14 -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
f08ec94e3c
Stop timer on instance save instead of form load.
2017-08-18 01:53:48 -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
Christopher Charbonneau Wells
a234799418
Add a queryset param filter utility function.
2017-08-13 16:26:52 -04:00
Christopher Charbonneau Wells
c5c3c4b030
Simplify duration string function.
2017-08-13 15:27:32 -04:00
Christopher Charbonneau Wells
481ada74f8
Add Feeding model.
2017-08-13 11:59:14 -04:00