Wednesday, October 31, 2018

Re: Can't Upload Image Field With Django 2.1

height_field and width_field should be strings. What's the error and what does your model fields look like?

On Wednesday, October 31, 2018 at 10:53:53 AM UTC-4, Pacôme Avahouin wrote:
Tim you just saved me right now:) I have spent the all night trying to figure it out.
Thanks a lot.
Now when i removed the width_field it works fine. But how to define height_field and width_field directly from the model?
Cause when i put their values in quotes i got another error.

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment