djangosnippets.org: Latest snippets posted by dlespiauhttp://djangosnippets.org/users/dlespiau/2016-05-03T12:05:40.084157-05:00dlespiauTesting for pending migrations in Django
2016-05-03T12:05:40.084157-05:00dlespiauhttp://djangosnippets.org/snippets/10567/<p>DB migration support has been added in Django 1.7+, superseding South. More specifically, it's possible to automatically generate migrations steps when one or more changes in the application models are detected. Definitely a nice feature!</p>
<p>I've written a small generic unit-test that one should be able to drop into the …</p>
Freely redistributable