Django Admin Site Does Not Pick Current Image Url
I am trying to edit the fields of one of my objects in the Django admin site, I also have a Cloudinary image field in my model. The issue is, anytime I try to make an edit to one o
Solution 1:
Django saves all attributes, not just the ones you've changed, when you save an object.
The Cloudinary library hard-codes max_length
to 255, so
- your
max_length=512
doesn't do anything, and - you shouldn't be seeing an error about
VARCHAR(100)
on that field.
Are you sure that all of your migrations have been applied on Heroku? Try running
heroku run python manage.py migrate
Post a Comment for "Django Admin Site Does Not Pick Current Image Url"