diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-12-06 05:48:21 -0800 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-12-06 05:48:21 -0800 |
| commit | a06fd092ef3cdfb3d5327a95bd946a483a98a3de (patch) | |
| tree | 5293d0d007cd0b8b4510fd4e3b0c25495e139f47 /django | |
| parent | 9a73e7f40c851cef262dd36da444c81492632ee5 (diff) | |
| parent | aba75b0d71808ed9ebc625e31a47da158f25b29d (diff) | |
Merge pull request #2037 from bmispelon/invalidbaseserror
Fixed TypeError when rendering ModelState with multiple bases.
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/migrations/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/migrations/state.py b/django/db/migrations/state.py index 0dd8d85e10..53c24cb8da 100644 --- a/django/db/migrations/state.py +++ b/django/db/migrations/state.py @@ -176,7 +176,7 @@ class ModelState(object): for base in self.bases ) if None in bases: - raise InvalidBasesError("Cannot resolve one or more bases from %r" % self.bases) + raise InvalidBasesError("Cannot resolve one or more bases from %r" % (self.bases,)) # Turn fields into a dict for the body, add other bits body = dict(self.fields) body['Meta'] = meta |
