4 | | Here's an example output: |
5 | | |
6 | | {{{ |
7 | | Cannot resolve bases for [<django.db.migrations.state.ModelState object at 0x7fd8e82f45d0>, <django.db.migrations.state.ModelState object at 0x109b8e69f476>] |
8 | | This can happen if you are inheriting models from an app with migrations (e.g. contrib.auth) |
9 | | in an app with no migrations; see https://docs.djangoproject.com/en/1.7/topics/migrations/#dependencies for more |
10 | | }}} |
11 | | |
12 | | I think it would be much more useful to have the model names for which the bases could not be resolved, eg: |
13 | | |
14 | | {{{['foo.Bar', 'baz.Cruux']}}} |
15 | | |
16 | | A proposed modification would be to pass in {{{['{}.{}'.format(ms.app_label, ms.name) for ms in new_unrendered_models]}}} instead of simply {{{new_unrendered_models}}}. |
17 | | |
18 | | As a side note, I'm not sure the space in front of " in an app" should be there, as it's just after a line-jump, it could (should?) be removed (just nitpicking ;). |
| 3 | I can confirm the error message is now very clear. |