Feature Request: customize redirectable status codes in test client

2022-02-20 Thread Clemens Wolff
Hi Django Developers, I'd like to discuss a change to the Django test client to enable customizing the list of status codes that are considered as redirectable when a GET request is made with `follow=True` (see docs in [1]). Specifically, I suggest moving the `redirect_status_codes` property in t

Re: Feature Request: customize redirectable status codes in test client

2022-02-20 Thread Clemens Wolff
r own project to add support > - have you tried that? > > > On Sun, 20 Feb 2022 at 04:21, Clemens Wolff wrote: > >> Hi Django Developers, >> >> I'd like to discuss a change to the Django test client to enable >> customizing the list of status

Re: Feature Request: customize redirectable status codes in test client

2022-03-19 Thread Clemens Wolff
practically be a year before you can use > it. > > FWIW my library patchy can be used to modify the internal source code of > functions: https://pypi.org/project/patchy/ . This may be of use to avoid > copy-pasting a lot of code. > > On Sun, Feb 20, 2022 at 7:04 PM Clemens Wolff