Report this

What is the reason for this report?

How to migrate a new app to an existing Django project (Droplet)?

Posted on June 22, 2021

I need to migrate an additional app/model to a running Django project to create a table in a PostgreSQL managed database. How to do this migration? What is the safest way to do this migration not to annoy the production system? Can anyone help me? FYI, the existing Django project runs in a Droplet with Ubuntu 20 and Nginx. The tutorials I followed to set up this project are https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-20-04 and https://www.digitalocean.com/community/tutorials/how-to-set-up-a-scalable-django-app-with-digitalocean-managed-databases-and-spaces. Thank you.

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.