I believe I have my model set up correctly:
image_width = models.IntegerField(editable=False, null=True)
image_height = models.IntegerField(editable=False, null=True)
image = models.ImageField(upload_to='persons/%Y/%m/%d',
width_field='image_width', height_field='image_height',
max_length=100, blank=True, null=True)
So I suspect the problem is with my view, or because I'm uploading to
a bound form?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment