A
A
AlexBoss2018-10-25 22:58:33
Django
AlexBoss, 2018-10-25 22:58:33

How to properly modify models in django?

Good evening, experts. Let's say I have a model, I want to add some field to it or change an existing one, will just makemigrations be enough for me? And will all data be saved when creating and changing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Tikhonov, 2018-10-26
@AlexBoss

That's right - through makemigrations with the addition of the mind. Quite right - as in the article on Habré .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question