Closed mparent61 closed 8 years ago
@benghaziboy @MichaelButkovic
huh, very weird
LGTM
provided this has run,
LGTM
Yeah runs locally. I think the dependency issues involve cross-app dependencies. Also by not using get_model() you can run into trouble if your migration also modifies schema.
v0.7.3 Fix special coverage migration to grab model directly so that custom SpecialCoverage.save() method is called and triggers _save_percolator.
A model obtained from apps.get_model() calls the generic save(), and does not call a custom save() method like SpecialCoverage.save(). This surprised me, take heed when using app.get_models() in your migration scripts.
https://realpython.com/blog/python/data-migrations/#comment-1843026722