N
N
Nikodad2022-01-24 18:38:31
Django
Nikodad, 2022-01-24 18:38:31

How to make migrations in django?

I installed the project on vps and I can't make migrations because some commands don't work: makemigrations, migrate, check. When they are executed, absolutely nothing happens.

61eec68b34e5b905165832.png

runserver, shell, etc. work. Googled about DJANGO_SETTINGS_MODULE but that's all right. Everything works locally

. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim, 2022-01-24
@Viji

And as a matter of fact, the base also works on the same vps? The path to the database must be written correctly, taking into account the dns server or ip address where the database works. Or maybe you don't have it running at all?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question