﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25705	Parameters are not adapted or quoted in Query.__str__	Dmitry Dygalo	Alex	"Now it is just string interpolation of the SQL template with parameters and in most cases produces invalid queries for the following reasons:

- No quoting
- No adaptation. So, some python objects will be used as is, not like their SQL equivalents

Yes, there are situations, when output of `Query.__str__` is equal to actual query. But for debugging reasons, it will be better to see real query here. Also it is logical and expected behavior of this method - to show actual query."	Cleanup/optimization	assigned	Database layer (models, ORM)	dev	Normal			Petr Přikryl Ülgen Sarıkavak Simon Charette Mariusz Felisiak	Accepted	1	0	0	1	0	0
