Step by step, here is how I got to where I am now...
I attempted ran the command python manage.py migrate
after changing my Order
table in my database to include include flowertype = IntegerField()
and was told that I couldn't move forward with the migration until I either a) set a default value to the IntegerField()
, or b) let django set it for me. I chose a and set the default value to 'something'
just to get the error out of my hair.
Realizing that I shouldn't have put a string into an IntegerField()
, I have tried the following to fix this issue.
1) tried to reset models.IntegerField()
to models.IntegerField(default='1')
2) tried to reset my sql database using django-reset and it gave me a ton of errors like `ImportError: cannot import name sql_delete
3) commenting out my Order
model and then running makemigrations
& migrate
to no avail.