#249 Created as modified

* fills modified attribute on new entries with created value automatically
* adds default ordering by last modified on table overviews
This commit is contained in:
mpeltriaux committed 2022-11-25 08:27:42 +01:00
1 parent 7438cb34d1
commit bfbe1085b2
12 files changed
+16

No files matched your search

+1
View File
@@ -85,6 +85,7 @@ class EmaAPISerializerV1(AbstractModelAPISerializerV1, AbstractCompensationAPISe
)
created = create_action
obj.created = created
obj.modified = created
obj.geometry = geometry
return obj