#3322 closed (fixed)
[patch] UnicodeCursorWrapper does not accept dict-style format objects
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Keywords: | unicode-branch | |
Cc: | kurtiss@…, mir@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Django supports pyformat style format parameters (eg. http://code.djangoproject.com/changeset/3038). The change intended to add unicode support for postgresql queries restricts format objects to lists and tuples. The following patch reinstates dict format object passing.
Attachments (1)
Change History (6)
by , 18 years ago
Attachment: | pyformat_psql.diff added |
---|
comment:1 by , 18 years ago
Cc: | added |
---|
comment:2 by , 18 years ago
Keywords: | unicode-branch added |
---|---|
Triage Stage: | Unreviewed → Accepted |
Due to some refactoring that has gone on in the unicode branch that will soon change the code referred to in this patch, I am going to commit a modified version of this patch to the unicode branch and then close this ticket when that is merged back into trunk.
Note that this bug only affects the postgresl (psycopg1) backend.
comment:3 by , 18 years ago
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Reissues support for pyformat style format parameters using postgresql's UnicodeCursorWrapper