Q. Which command is used to generate migrations in Django?

  • (A) makemodels
  • (B) makemigrations
  • (C) create_migration
  • (D) prepare_db
πŸ’¬ Discuss
βœ… Correct Answer: (B) makemigrations
Explanation: makemigrations creates new migration files based on the changes in models.
Explanation by: Rakesh Yadav
makemigrations creates new migration files based on the changes in models.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
84
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
87%
Success Rate