Answer the question
In order to leave comments, you need to log in
Why is the save() command not executing in Django?
I'm learning the Django framework at https://webformyself.com/djang ... ign=django, everything was going great until I got to part 1, lesson 9.
When trying to save records to the database via the variable news1.save() , an error occurs:
Answer the question
In order to leave comments, you need to log in
The model has been modified but not migrated:
python manage.py makemigrations
python manage.py migrate
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question