ara-server/ara/api
David Moreau Simard 8f4ed9e541
Use playbook.updated instead of "now" for calculating duration
Using now() to calculate the duration was not accurate.
If a playbook had never ended, it would show that a playbook ran
yesterday for >40k seconds and keep growing, for example.
playbook.updated is the next best thing we've got so let's use that.

Change-Id: I66c6073879d716586425e0a84f3da1dcbf04c7e8
2018-10-16 09:30:22 -04:00
..
migrations Added FK to playbook to the Task and Result models. 2018-10-15 18:10:03 +02:00
tests Added FK to playbook to the Task and Result models. 2018-10-15 18:10:03 +02:00
__init__.py Only ara is a namespace package, subpackages are not. 2018-09-28 08:31:09 +02:00
admin.py Added CI for black/isort. 2018-10-02 09:50:15 -05:00
apps.py Run black & isort over the codebase. 2018-10-01 18:24:47 +02:00
models.py Added FK to playbook to the Task and Result models. 2018-10-15 18:10:03 +02:00
serializers.py Use playbook.updated instead of "now" for calculating duration 2018-10-16 09:30:22 -04:00
urls.py Implement API for ARA records 2018-10-02 14:44:07 -05:00
views.py Implement API for ARA records 2018-10-02 14:44:07 -05:00