Fixed #20478 – Added support for HTTP PATCH method in generic views.

Link to ticket: https://code.djangoproject.com/ticket/20478