#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:
1 parent
ad02a62eaf
commit
e048d44c95
12 files changed
+16
No files matched your search
@@ -64,6 +64,7 @@ class CompensationAPISerializerV1(AbstractModelAPISerializerV1, AbstractCompensa
|
||||
obj = Compensation()
|
||||
created = create_action
|
||||
obj.created = created
|
||||
obj.modified = created
|
||||
obj.geometry = geometry
|
||||
return obj
|
||||
|
||||
|
||||
Reference in new issue
Block a user