Commit acbca4c4 authored by Morten Linderud's avatar Morten Linderud 🏄 Committed by Jelle van der Waa
Browse files

Add created and last_modified to json



Helps us write tools to find out if a package hasn't been checked off
since todolist creation.
Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent e700a6e6
......@@ -239,6 +239,8 @@ def default(self, obj):
'id': obj.pk,
'name': obj.name,
'description': obj.description,
'created': obj.created,
'last_modified': obj.last_modified,
'packages': [pkg.pkg for pkg in obj.packages()],
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment