#33794 closed Bug (fixed)
PostGISAdapter str() returns bytes
| Reported by: | Claude Paroz | Owned by: | Claude Paroz |
|---|---|---|---|
| Component: | GIS | Version: | 4.1 |
| Severity: | Release blocker | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Commit [64c3f049ea3bcb1c] introduced a regression as PostGISAdapter str() implementation delegates to getquoted which returns now bytes.
Change History (6)
comment:1 by , 3 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
follow-up: 4 comment:3 by , 3 years ago
| Has patch: | set |
|---|
While writing the report, I hoped you didn't start the release :-)
comment:4 by , 3 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Replying to Claude Paroz:
While writing the report, I hoped you didn't start the release :-)
We've used the handbreak :)
Note:
See TracTickets
for help on using tickets.
Thanks for the report. Does calling
decode()in__str__()works for you?django/contrib/gis/db/backends/postgis/adapter.py