Commit Graph

17 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells ed84f950bc Add a custom serializer for core models.
This serializer associates the core models with their related child fields and runs model clean() methods during POST requests.
2017-12-05 16:31:37 -05:00
Christopher Charbonneau Wells 067be4bf07 Add weight tracking. 2017-11-09 21:15:09 -05:00
Christopher Charbonneau Wells 8eef1574e4 Fix API child and user serializers.
The HyperlinkedIdentityField got broken somewhere along the way here and I am not sure, but this is not a priority right now.
2017-10-21 17:35:34 -04:00
Christopher Charbonneau Wells 37f28c3ff7 Add slug field to Child. 2017-08-18 08:12:50 -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 55a908f546 Fix URLs configuration to prevent namespace issues between api and core apps. 2017-08-17 12:17:51 -04:00
Christopher Charbonneau Wells 6b2de93736 Add Timer model.
This will used for creating timers in the app and (eventually) applying them to entries during create operations.
2017-08-16 18:33:02 -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 6e2112b6b5 Refactor model "Baby" as "Child". 2017-08-16 08:49:58 -04:00
Christopher Charbonneau Wells 99c6e54cc2 Add a generic Note model. 2017-08-13 16:48:16 -04:00
Christopher Charbonneau Wells 2452826586 Remove example User model API. 2017-08-13 16:17:18 -04:00
Christopher Charbonneau Wells 105adec971 Add DiaperChange model. 2017-08-13 15:51:25 -04:00
Christopher Charbonneau Wells 9422d73421 Add a TummyTime model. 2017-08-13 15:05:44 -04:00
Christopher Charbonneau Wells 481ada74f8 Add Feeding model. 2017-08-13 11:59:14 -04:00
Christopher Charbonneau Wells 7e0b81960f Add Sleep duration string. 2017-08-13 11:20:09 -04:00
Christopher Charbonneau Wells cafbe048cb Add basic Baby and Sleep models. 2017-08-13 10:48:16 -04:00
Christopher Charbonneau Wells fbbaa76153 Establish basic REST Framework API structure. 2017-08-13 09:44:48 -04:00