auto_now_add=True only sets the date when the object is first created,
which is only suitable for the 'created' field. auto_now=True is the
correct option for 'updated'.
This pull request also contains a commit to make sure that the
'inprogress' status is set however syncing is initiated, and one to remove
some unnecessary code.
Coverage remained the same at 98.162% when pulling 5ec53df0bffe86747ec4325d868bc2e2754511d5 on fix-sync-updated into e7b18bce62fae732019c8f32e3d58e8bf974bbba on alpaca-rebased.
Coverage increased (+0.002%) to 98.164% when pulling e065f3e0cbf09037bfc9f40de49ef1845074278d on fix-sync-updated into e7b18bce62fae732019c8f32e3d58e8bf974bbba on alpaca-rebased.
Coverage increased (+0.002%) to 98.164% when pulling 225a708334b016a2ff626b9e25b6ba9ad0070c0f on fix-sync-updated into e7b18bce62fae732019c8f32e3d58e8bf974bbba on alpaca-rebased.
Coverage increased (+0.002%) to 98.164% when pulling 225a708334b016a2ff626b9e25b6ba9ad0070c0f on fix-sync-updated into e7b18bce62fae732019c8f32e3d58e8bf974bbba on alpaca-rebased.
auto_now_add=True only sets the date when the object is first created, which is only suitable for the 'created' field. auto_now=True is the correct option for 'updated'.
This pull request also contains a commit to make sure that the 'inprogress' status is set however syncing is initiated, and one to remove some unnecessary code.