views.generic.base.View.http_method_not_allowed()

http_method_not_allowed(request, *args, **kwargs)

If the view was called with a HTTP method it doesn’t support, this method is called instead.

The default implementation returns HttpResponseNotAllowed with a list of allowed methods in plain text.

doc_Django
2016-10-09 18:40:50
Comments
Leave a Comment

Please login to continue.