G
G
guit242021-12-06 14:25:15
Django
guit24, 2021-12-06 14:25:15

How is python manage.py makemigrations different from python manage.py migrate?

How are these two commands different? python manage.py makemigrations and python manage.py migrate ? in which directories do they run?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alexbprofit, 2021-12-06
@guit24

The first command creates migrations based on existing models, and the second applies them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question