Sunday, April 26, 2015

Re: Migrations During Development

It depends about your workflow - if migrations were applied only on your machine, revert them and modify.
South migrations (and Django migrations, which were based on South) may be problematic in speific cases, i.e. during merging or when executed unintentionally from uncleaned *.pyc files, but you're safe until you commit (& spread) changes. And you shouldn't rely on automatic squashing ;)


On Saturday, April 25, 2015 at 2:26:47 PM UTC+2, Timothy W. Cook wrote:
Django 1.8  Python 3.4 PostgreSQL 9.3

During development I am creating several migrations. It seems unnecessary to keep these since they only exist on my dev machine.  
Any data that I have created can be thrown away too.

Is it safe to delete these migrations  (and the database) before deploying to the next stage for testing by users? 


Timothy Cook
LinkedIn Profile:

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment