Ask Your Question
1

What does it mean when I receive a "makemigrations" prompt after running "makemigrations"?

asked 2022-11-30 11:00:00 +0000

lakamha gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-02-11 07:00:00 +0000

scrum gravatar image

If you receive a "makemigrations" prompt after running "makemigrations", it means that Django has detected changes in your models and is asking you to confirm that you want to create new migrations based on these changes. This is a safety precaution, as creating new migrations can have unintended consequences, so Django requires user confirmation before proceeding. To create the new migrations, simply enter "m" or "yes" at the prompt and press enter.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-11-30 11:00:00 +0000

Seen: 1 times

Last updated: Feb 11 '22