Django documentation httpresponse.status_code or status?

Hey guys!
Anybody know why in documentation we have status_code, but in reality I should use status?
Here is my view:

 # this doesn't work
def click(request):
    return HttpResponse("Here's the text of the web page.", status_code = 404)

# But this works!
def click(request):
    return HttpResponse("Here's the text of the web page.", status = 404)

In code we see that constructor takes status. But django doc says status_code… Why?

status_code is the name of the attribute on HttpResponse objects once created. But the name of the parameter it is initialized from in the constructor is status, as you can see in the source code: django/django/http/response.py at 6bedb102e9708c6183caa51330f9bdeddf944d6a · django/django · GitHub

This is also mentioned in the documentation, right below the link you mentioned in your post: Request and response objects | Django documentation | Django