On Thursday, September 10, 2020 at 11:16:56 AM UTC+2 Alexander Lyabah wrote:
> The problem with the function is that it is actually working, but not > always, and because of that, other people are suggesting it on > StackOverflow, using it in prod, and may, eventually catch weird > exceptions, which leads to a bad experience with Django in general. > No, this function is never working in a useful way. It does client side interpolation of query params which should be done by the drivers instead, even when it works it is potentially dangerous. The actual problem is that people on StackOverflow recommend to use it. FWIW Since it is solely a debugging aid I'd actually break any usage of it by adding "--" to the start of it (or similar) -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/75c7da85-1e69-40d6-a9e2-d901fb867e41n%40googlegroups.com.