#30115: inspectdb on SQLite crashes when introspecting varchar primary key with
TypeError: unhashable type: 'dict'
-------------------------------------+-------------------------------------
Reporter: Can Sarıgöl | Owner: Nick Pope
Type: Bug | Status: closed
Component: Database layer | Version: 2.2
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"e53e64280df417c1f1acd63171746b28cd42edef" e53e642]:
{{{
#!CommitTicketReference repository=""
revision="e53e64280df417c1f1acd63171746b28cd42edef"
[2.2.x] Fixed #30115 -- Fixed SQLite introspection crash with a varchar
primary key.
Removed obsolete max_length handling for CharField that caused the issue.
Regression in a35d2a4510d5beec398b1007aaa26492d6aedf97.
Backport of bff748df3e1e1c0077e02df2b77bda2b827ad129 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30115#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.2c72312c0a3e734dd8b8dfb553ebe5a6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.