Better to use locale.get_collation than locale.collation.
This commit is contained in:
parent
df270adc94
commit
9cca728a66
@ -231,7 +231,7 @@ class DBAPI(DbGeneric):
|
|||||||
"""
|
"""
|
||||||
collation = self.dbapi.check_collation(locale)
|
collation = self.dbapi.check_collation(locale)
|
||||||
if collation == None:
|
if collation == None:
|
||||||
return locale.collation
|
return locale.get_collation()
|
||||||
return collation
|
return collation
|
||||||
|
|
||||||
def transaction_begin(self, transaction):
|
def transaction_begin(self, transaction):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user