0👍
✅
Like shlomta1 said your string is larger than max length. Try running heroku run python manage.py migrate
so you apply those max lengths to your heroku database too
2👍
You getting this error because one of your strings is larger than the max length.
If its working locally you probably changed the max length and didn’t migrate your changes on Heroku.
- [Answered ]-Django: what is the difference between redirect to a view function and redirect to a url (from urls.py file)
- [Answered ]-Request.method == 'POST' is not working in Django
- [Answered ]-If / else in Django View
- [Answered ]-Full Stack Setup with Python
Source:stackexchange.com