mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[4.1.x] Fixed #33794 -- Fixed string-casting of GIS queries on PostgreSQL.
Regression in64c3f049ea. Backport ofde74a74b4bfrom main
This commit is contained in:
committed by
Mariusz Felisiak
parent
91b365ef67
commit
42e4b0e608
@@ -42,7 +42,7 @@ class PostGISAdapter:
|
||||
return hash(self.ewkb)
|
||||
|
||||
def __str__(self):
|
||||
return self.getquoted()
|
||||
return self.getquoted().decode()
|
||||
|
||||
@classmethod
|
||||
def _fix_polygon(cls, poly):
|
||||
|
||||
Reference in New Issue
Block a user