generic view http_method_not_allowed should only reference request and n...

...on member variable

Ticket opened for this:
https://code.djangoproject.com/ticket/21564#ticket