Open atbradley opened 6 years ago
Actually I think that "swappable" model is a better approach: conditionally running migrations will cause errors in TestRunner when it will try to serialize data of openinghours.Company model (because app.get_models still has Company model that has no migrations executed for it). See my pull #30
@atbradley can you check if django-openinghours==0.1.5
solves your issue?
The migration
0002_auto_20170915_0912.py
fails with projects that don't use the default openinghours.Company model for premises. This revision corrects that issue.