Q. What command is used to create migrations for changes in models?

  • (A) python manage.py migrate
  • (B) python manage.py makemigrations
  • (C) python manage.py update
  • (D) python manage.py build
πŸ’¬ Discuss
βœ… Correct Answer: (B) python manage.py makemigrations
Explanation: `makemigrations` generates migration files based on model changes.
Explanation by: Mr. Dubey
`makemigrations` generates migration files based on model changes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
89
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate