Hello,
I know somewhat about this situation.
I was a beginner some months ago :-)
the situation is :
you change something in a model (add a non-nullable field)
when you send « makemigrations" the ORM needs to get a value for the new fields just because it’s non-nullable
before modifying anything in the database.
choice 1 - you could enter a valid value directly in the terminal windows and the next time you add a new line in your database, you provide a value for this field and everything will goes well.
choice 2 - you stop the migrations and change the properties of your new field in the model itself (provide a default value, or transform the field in a nullable field)
hope it’s help!
see you
Dominique
ad...@tradom.ca
ad...@tradom.ca