Refs #27795 -- Removed force_text() usage in db/models/sql/query.py.
This commit is contained in:
parent
4ab071f43c
commit
2ba588e773
|
@ -35,7 +35,6 @@ from django.db.models.sql.datastructures import (
|
|||
from django.db.models.sql.where import (
|
||||
AND, OR, ExtraWhere, NothingNode, WhereNode,
|
||||
)
|
||||
from django.utils.encoding import force_text
|
||||
from django.utils.functional import cached_property
|
||||
from django.utils.tree import Node
|
||||
|
||||
|
@ -1872,7 +1871,7 @@ class Query:
|
|||
else:
|
||||
param_iter = iter([])
|
||||
for name, entry in select.items():
|
||||
entry = force_text(entry)
|
||||
entry = str(entry)
|
||||
entry_params = []
|
||||
pos = entry.find("%s")
|
||||
while pos != -1:
|
||||
|
|
Loading…
Reference in New Issue