Skip to content
Snippets Groups Projects
Verified Commit 71c70cee authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed #478: Removed release date error in case of empty date

parent fe436d47
No related branches found
Tags 0.3.3
No related merge requests found
......@@ -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
......
Removed release date error in case of empty date (#478)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment