A
A
Artemy Antipin2016-10-19 08:58:49
Django
Artemy Antipin, 2016-10-19 08:58:49

After the migrations, changes on the site are not applied, but the migrations are successful, what could be the problem where to look ???

The site is on Django, I work locally, I make changes, I upload changes to Bitbucket, then I merge these changes into the site itself. The problem is this: I change some fields in the models in the admin panel (models.py) or in dashboard.py I display some models on the main page in the admin panel, after all the migrations there is nothing on the production server ... although all migrations are applied successfully, what could be problem ???

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2016-10-19
@fox_12

manage.py showmigrations See
successfully applied migrations?

A
Artyom Innokentiev, 2016-10-19
@artinnok

It's worth restarting your combat server - Gunicorn / uWSGI / supervisor / upstart depending on what you're using.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question