Reputation: 3359
I have a Model file which has a change which isn't being picked up by DJango makemigrations
.
I created a manual migration following this answer, but if we run makemigrations afterwards Django creates a new auto migration reverting our manual changes.
Is there a way to manually make a migration and tell DJango to ignore relevant parts of the code when generating future migrations?
Upvotes: 2
Views: 290