dcramer/mock-django

MockHttpRequest could receive user when instantiated

alej0varas opened this issue · 1 comments

Could be better if one can call

MockHttpRequest(user=user)

than

request = MockHttpRequest()
request.user = user

I'm working on this issue on https://github.com/alej0varas/mock-django/tree/patch-1

This was closed by pull request #12