8 | | Personally I'd like to skip RawSQL clauses in the block which is responsible for finding duplicates. If someone is using raw sqls, he knows the best what he is doing, IMO. And it is quite strange if Django removes silently part of your SQL. This is very confusing. And please note that printing a `Query` instance was generating incomplete sql, but while checking `Query.order_by` manually, the return value was containing all clauses. I thought that just printing is affected, but our QA dept told me the truth ;) |
| 8 | Personally I'd like to skip RawSQL clauses in the block which is responsible for finding duplicates. If someone is using raw sqls, he knows the best what he is doing, IMO. And it is quite strange if Django removes silently part of your SQL. This is very confusing. And please note that printing a `Query` instance was generating incomplete sql, but while checking `Query.order_by` manually, the return value was containing all clauses. I thought that just printing was affected, but our QA dept told me the truth ;) |