#2427 Add the date_modified to projects API
Merged by pingou. Opened by cverna.
cverna/pagure project_date_modifed  into  master

Download 2427.patch

This commit add the date_modified timestamp to the projects API,
the date_modified timestamp is updated whenever the project's settings,
project's group settings or the project's user settings are modified.

Fixes #2412

Signed-off-by: Clement Verna cverna@tutanota.com

this shouldn't work because existing projects don't have date_modified and the field is non-nullable

Hum probably I did not try it :P

rebased

^ don't know if this was sarcasm or not :P

For PEP-8 the imports should be above the revision and down_revision variables.

You can probably fix this in the alembic template, so that it does it this way by default in the future.

LGTM!

rebased

Updated to make pep8 happy :smile:

rebased

Some of the tests are failing here, I'll fix them before merging

rebased

Pull-Request has been merged by pingou

Metadata