Q. Which command is used to apply changes made to models to the database?

  • (A) python manage.py update
  • (B) python manage.py makemigrations
  • (C) python manage.py apply
  • (D) python manage.py dbsync
πŸ’¬ Discuss
βœ… Correct Answer: (B) python manage.py makemigrations
Explanation: makemigrations generates new migration files for model changes.
Explanation by: Mr. Dubey
makemigrations generates new migration files for model changes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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