when you are changing the db you maybe get a UNICODEERRO:'utf-8'
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
After wasteing more than 5 days i finally got the solution .. you will never got that accurate error in internet , i figured it out by myself .
python manage.py dumpdata > datadump.json
then change the database settings.py as per your database then
python manage.py makemigrations
python manage.py migrate
python manage.py loaddata datadump.json
and then if u get got the error i mention :
1.Install notepad ++
2.open your datadum.json file in notepad++
3.on buttom right corner you will get the encodin will be anything else than utf-8
4.on top bar select encoding to UTF-8
you are good to go ..then again
python manage.py loaddata datadump.json
i have suffered a lot for this ...so give a thumbs up and shares are appriciated
Thank you!
and for more clearance you can watch this video :https://youtu.be/RBtEr3TXNwg
settings.pybetween dev and release, you should be golden, That's how I do most of my projects. - robotHamster