Django ModelForm is giving me a validation error that doesn't make sense
- by River Tam
I've got a ModelForm based on a Picture.
class Picture(models.Model):
name = models.CharField(max_length=100)
pub_date = models.DateTimeField('date published')
tags = models.ManyToManyField('Tag', blank=True)
content = models.ImageField(upload_to='instaton')
def __unicode__(self):
return self.name
class…