Skip to content

Commit a00187e

Browse files
committed
Make podcast itunes image dimensions nullable
1 parent c1ca91e commit a00187e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

podcasts/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ class Podcast(models.Model):
7171
height_field="itunes_image_height",
7272
width_field="itunes_image_width",
7373
)
74-
itunes_image_height = models.PositiveIntegerField()
75-
itunes_image_width = models.PositiveIntegerField()
74+
itunes_image_height = models.PositiveIntegerField(blank=True, null=True, default=None)
75+
itunes_image_width = models.PositiveIntegerField(blank=True, null=True, default=None)
7676
itunes_primary_category = models.ForeignKey(
7777
iTunesCategory, on_delete=models.PROTECT,
7878
related_name="+",

0 commit comments

Comments
 (0)