Report this

What is the reason for this report?

Successful makemigrations in Django project does not work

Posted on February 8, 2020

Hi, When we have new code drop from development, we copy the files manually to the hosting server running in Digital Ocean droplet.

Then we run these two commands

  1. makemigrations
  2. migrate

in the python virtual environment.

Both the commands completed find but, we are not able to use the new migration in our web site. We did not touch the database (postgres) side hoping that models.py would take care of migrations on the database side.

Please advise what would be missing from my side?

P.S. Out Django project was setup as per this document.

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04?comment=75146

Thanks, ~Ram



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey, was your problem solved? Because I am facing the same problem.

hi @bengaltiger,

I would reach out to the author who wrote the guide @jellingwood.

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.