Comment (by Alan):
Replying to [comment:2 Mariusz Felisiak]:
> Does it work for you? Would you like to prepare a patch? (a regression
test is required).
It does work for me, the test now passes correctly after applying cloning
the rhs.
Regarding the patch, I've never contributed to Django, so it may take
quite a while for me to get familiar with what's required. If you could
point me to the key resources on how to do that, I may take a shot on a
weekend.
I found a "Submitting a patches" in Django doc. I need more guidance on
how to cover this case with regression tests. I would highly appreciate
some references to take a look at.
--
Ticket URL: <https://code.djangoproject.com/ticket/35099#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Mariusz Felisiak):
> Regarding the patch, I've never contributed to Django, so it may take
quite a while for me to get familiar with what's required. If you could
point me to the key resources on how to do that, I may take a shot on a
weekend.
Great, thanks! I'd recommend joining our [https://discord.gg/xcRH6mN4fa
Discord server] and asking on the `#contributing-getting-started` channel,
folks are very helpful there.
--
Ticket URL: <https://code.djangoproject.com/ticket/35099#comment:4>
* owner: nobody => Alan
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/35099#comment:5>
* owner: Alan => Hisham Mahmood
* has_patch: 0 => 1
* stage: Accepted => Ready for checkin
Comment:
[https://github.com/django/django/pull/17829 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/35099#comment:6>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"d79fba7d8e7bbcdf53535a14d57ead5a6863cd8d" d79fba7d]:
{{{#!CommitTicketReference repository=""
revision="d79fba7d8e7bbcdf53535a14d57ead5a6863cd8d"
Fixed #35099 -- Prevented mutating queryset when combining with & and |
operators.
Thanks Alan for the report.
Co-authored-by: Mariusz Felisiak <felisiak...@gmail.com>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35099#comment:7>
Thank you, Hisham Mahmood and Mariusz, for picking this up.
Sorry for leaving this hanging. I got overwhelmed on my main job, so
wasn't able to find a spare hour for this.
--
Ticket URL: <https://code.djangoproject.com/ticket/35099#comment:8>