fix get_placeholder
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ def get_placeholder(model: Any, field: str) -> str:
|
|||||||
if type_ == datetime.datetime:
|
if type_ == datetime.datetime:
|
||||||
return compat_timestamp_placeholder(field)
|
return compat_timestamp_placeholder(field)
|
||||||
else:
|
else:
|
||||||
return "?"
|
return f":{field}"
|
||||||
|
|
||||||
|
|
||||||
class Compat:
|
class Compat:
|
||||||
|
|||||||
Reference in New Issue
Block a user