kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Merge branch '478-blank-release-date' into 'develop'
Resolve "Investigate "ValidationError {'release_date': ['This field cannot be blank.']}" during import" Closes #478 See merge request funkwhale/funkwhale!380environments/review-front-funk-6vs0zq/deployments/32
commit
3f9bf9af39
|
@ -144,7 +144,7 @@ class AlbumQuerySet(models.QuerySet):
|
|||
class Album(APIModelMixin):
|
||||
title = models.CharField(max_length=255)
|
||||
artist = models.ForeignKey(Artist, related_name="albums", on_delete=models.CASCADE)
|
||||
release_date = models.DateField(null=True)
|
||||
release_date = models.DateField(null=True, blank=True)
|
||||
release_group_id = models.UUIDField(null=True, blank=True)
|
||||
cover = VersatileImageField(
|
||||
upload_to="albums/covers/%Y/%m/%d", null=True, blank=True
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Removed release date error in case of empty date (#478)
|
Ładowanie…
Reference in New Issue