R
R
Rem362018-04-06 19:19:49
Django
Rem36, 2018-04-06 19:19:49

How to change the model is not remote base?

Priva. Changed the model. I do makemigrations, writes that I made a migration. I am writing to the migrant, he writes that there is nothing to apply. I go to the admin panel to add something, writes that there is no column which I added to the model. If you delete the base and do it with a new model, then everything is fine. Is there a way to apply a migration to a model without deleting the base?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
latush, 2018-04-16
@latush

try
migrate <app_ name>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question