diff options
| author | Max Arnold | 2012-07-12 23:13:04 +0700 |
|---|---|---|
| committer | Max Arnold | 2012-07-12 23:13:04 +0700 |
| commit | 650c04662dc4b47f285601fefad3b71afc7f6461 (patch) | |
| tree | 21b0a3f45de62a46bc30ff29c65e40bbe48e31b8 | |
| parent | fe262ef3537fa67ecda374825a295ff854f027a3 (diff) | |
| download | django-rest-framework-650c04662dc4b47f285601fefad3b71afc7f6461.tar.bz2 | |
remove remaining head() method
| -rw-r--r-- | djangorestframework/compat.py | 3 |
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 |
