See #170: store and compute modification date on artists

This commit is contained in:
Eliot Berriot 2020-03-19 14:41:15 +01:00
parent b5297150f0
commit 1654044a9f
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
12 changed files with 85 additions and 7 deletions

View file

@ -160,6 +160,7 @@ def serialize_artist_simple(artist):
"mbid": str(artist.mbid),
"name": artist.name,
"creation_date": DATETIME_FIELD.to_representation(artist.creation_date),
"modification_date": DATETIME_FIELD.to_representation(artist.modification_date),
"is_local": artist.is_local,
"content_category": artist.content_category,
}