A

Admin • 833.24K Points
Coach

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
  • Correct Answer - Option(B)
  • Views: 32
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

`makemigrations` generates migration files based on model changes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.