I installed Django 4.1 alpha and ran the tests with deprecation warnings enabled, but I didn't get any deprecation warnings for logging out with get. I have this test:
def test_user_can_logout(self):
r = self.client.get(path='/logout/')
self.assertEqual(first=r.status_code, second=200)
r = self.client.get(path='/')
self.assertIs(expr1=r.context['user'].is_authenticated, expr2=False)
And I ran it with the command `./tests_manage_all_sites_with_deprecation_warnings.sh test speedy.core.accounts.tests.test_views.LogoutViewTestCase`, and the test is passing without any deprecation warnings. Is it a problem with Django 4.1 or in the way I ran the test?
Do you want me to file a new ticket?
Thanks,
Uri.
אורי