Hi David!
As Josh said it's great to see another contributor interested in the ORM.
There was a recent discussion on this mailing list about an ORM query syntax
enhancement[1] that you might find interesting. From what I remember there
was a proposal similar to yours.
Simon
[1] https://groups.g
Hi Josh,
Thanks so much for your input, both here and on the ticket I referenced.
You were correct, MonthTransform did work. Essentially, this piece of code
worked in django 1.9:
MyModel.objects.filter(date1__month=MonthTransform('date2'))
However, the way I see it here, the right hand si
I found an N+1 query by inspecting the code of a management command that
was running every 10 minutes, and it made me think, it would be good to
have an option similar to
https://django-debug-toolbar.readthedocs.org/en/1.0/commands.html#debugsqlshell
for management commands in general.
If ther