Running migrations for a single app in django

I have several apps in my Django project. How do I migrate the changes of only a particluar app to my database?.

message profile

To migrate specifc apps in django, specify the app name after the makemigrations and migrate command e.g let's say you want to migrate an app named blog. All you have to do is specify the app name when you run makemigrations and migrate commands in the terminal as show below

python makemigrations blog

Then after that run

python migrate blog


Add Message

Click on the button below to add a new message to this thread


Thread detail

Satus: Open
Messages: 1Started: 2022-05-10




Frontend Development |Backend Development |Full Website Development |Bootstrap Website upgrades | Website Debbugging | Website Hosting & deployment


Interested in hiring me or collaborating with me on a project, click on any of the links below to get my social media handle

Or contact me via Tel: (+234)-806-225-7480 | Email:
Privacy Policy

By using our website,
you agree that devmaesters can store cookies on your device and disclose information in accordance with our privacy policy.