﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31776	Django test client uses incomplete request for _login	Tiemo	nobody	"The test client (django.test.client.Client) uses an empty request when calling login. This is a little annoying when you have a user_logged_(in|out) signal handler that attempts to retrieve the request's IP for logging purposes.

The offending line [1] creates an empty HttpRequest. Perhaps it could use RequestFactory.request instead?

[1]: https://github.com/django/django/blob/master/django/test/client.py#L615"	Bug	closed	Testing framework	3.0	Normal	duplicate			Unreviewed	0	0	0	0	0	0
