W dniu środa, 16 października 2019 07:53:05 UTC+2 użytkownik Harro napisał:
>
> Yes, it's a complicated issue, but isn't the SQL query the ultimate 
> representation of which methods are called or not?
>
> Having the query evaluated during debugging has been shown to be harmful 
> in certain situations, isn't that the most important thing to fix?
>

Current behavior is extremely valuable IMO. It is not the most important 
thing to remove behavior that most of users use because we want to fix an 
edge case that was reported twice in the last six years. I agree that we 
can clarify this in docs. SQL query is not a solutions because not all of 
ORM users know SQL. Moreover the current `repr()` shows values from DB that 
we'll miss showing only SQL. You can check in the Django documentation how 
users use the current `repr()` e.g. in tutorials.

Best,
Mariusz

-- 
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/dc658cc9-0974-4088-9ab7-f8eb24c74d36%40googlegroups.com.
    • ... Adam Johnson
  • ... Matt
    • ... Ryan Hiebert
  • ... Matt
  • ... Mariusz Felisiak
    • ... Carlton Gibson
      • ... 'Alexandr Aktsipetrov' via Django developers (Contributions to Django itself)
      • ... James Bennett
        • ... charettes
          • ... Harro
            • ... Mariusz Felisiak
              • ... Matt
              • ... Michel Sabchuk
              • ... Joachim Jablon
              • ... 'Adam Johnson' via Django developers (Contributions to Django itself)

Reply via email to