Closed RaVeR76 closed 2 years ago
I kept calm and checked through our Slack community and found the answer, it was because I had made a few orders using the Countries full name whereas I had changed it use CountryField which uses the two letter codes for orders. I simple went in and deleted the majority of my orders starting with the oldest and then tried this step again .... Hey Presto, it worked !!!
As I was getting ready to deploy to Heroku, I followed the tutorials and got to the
python3 manage.py loaddata db.json
stage, were I was loading my database data into postgres for working on Heroku. I was nervous enough about getting this whole deployment process right, even if i had done it a few times before but I had seen some deployment horror stories in Slack. Anyway I was at this stage and straight up it threw an error up ..... defibrillator please !!!