S

Shyam Dubey • 3.70K Points
Extraordinary

Q. How do you run all pending migrations in Django?

  • (A) python manage.py makemigrations
  • (B) python manage.py migrate
  • (C) python manage.py sync
  • (D) python manage.py update
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
migrate applies all unapplied migrations to the database.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.