Skip to content

Commit

Permalink
Attempt to make videos optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-hamilton committed May 25, 2020
1 parent 9d6f8f8 commit e0c2523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion one_hit_wonder/account/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Musician(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
location = models.ForeignKey('Location', on_delete=models.PROTECT)
instruments = models.ManyToManyField('Instrument')
videos = models.ManyToManyField('Video')
videos = models.ManyToManyField('Video', blank=True)
image = models.ImageField(default='default.jpg', upload_to='profile_pics', blank=True)

def __str__(self):
Expand Down

0 comments on commit e0c2523

Please sign in to comment.