aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--djangorestframework/compat.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/djangorestframework/compat.py b/djangorestframework/compat.py
index b5858a82..b8681022 100644
--- a/djangorestframework/compat.py
+++ b/djangorestframework/compat.py
@@ -186,9 +186,6 @@ except ImportError:
#)
return http.HttpResponseNotAllowed(allowed_methods)
- def head(self, request, *args, **kwargs):
- return self.get(request, *args, **kwargs)
-
# PUT, DELETE do not require CSRF until 1.4. They should. Make it better.
if django.VERSION >= (1, 4):
from django.middleware.csrf import CsrfViewMiddleware