Home »
Python »
Django MCQs
Which is the correct statement to run migrate command in Django?
15. Which is the correct statement to run migrate command in Django?
- run manage.py migrate
- py migrate
- py manage.py pymigrate
- py manage.py migrate
Answer: D) py manage.py migrate
Explanation:
The correct statement to run migrate command in Django:
from django.db import models