mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 21:12:11 +02:00
See #170: store and compute modification date on artists
This commit is contained in:
parent
b5297150f0
commit
1654044a9f
12 changed files with 85 additions and 7 deletions
|
@ -251,7 +251,7 @@ class Artist(APIModelMixin):
|
|||
choices=ARTIST_CONTENT_CATEGORY_CHOICES,
|
||||
null=True,
|
||||
)
|
||||
|
||||
modification_date = models.DateTimeField(default=timezone.now, db_index=True)
|
||||
api = musicbrainz.api.artists
|
||||
objects = ArtistQuerySet.as_manager()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue