#22906 closed New feature (fixed)
Give ModelState a __repr__()
Reported by: | Collin Anderson | Owned by: | nobody |
---|---|---|---|
Component: | Migrations | Version: | 1.7-beta-2 |
Severity: | Normal | Keywords: | |
Cc: | cmawebsite@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I've gotten a number of InvalidBasesError("Cannot resolve bases for %r" % new_unrendered_models)
errors. Could we make a repr for ModelState
objects?
Change History (5)
comment:1 by , 10 years ago
Summary: | ModelState.__repr__ → Give ModelState a __repr__() |
---|---|
Type: | Uncategorized → New feature |
comment:2 by , 10 years ago
Needs tests: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/2852