diff options
| author | Tom Christie | 2011-05-12 16:03:14 +0100 | 
|---|---|---|
| committer | Tom Christie | 2011-05-12 16:03:14 +0100 | 
| commit | 44c8b89c6051483677e72a6fc657b1e0457182d1 (patch) | |
| tree | 54c393760388269e6f616aac1218c67e4915d042 /djangorestframework/views.py | |
| parent | a31a68d6cba30c95251dad70bf4d18f83f782c67 (diff) | |
| download | django-rest-framework-44c8b89c6051483677e72a6fc657b1e0457182d1.tar.bz2 | |
_perform_form_overloading becomes transparent
Diffstat (limited to 'djangorestframework/views.py')
| -rw-r--r-- | djangorestframework/views.py | 6 | 
1 files changed, 1 insertions, 5 deletions
diff --git a/djangorestframework/views.py b/djangorestframework/views.py index 2a23c49a..211dafca 100644 --- a/djangorestframework/views.py +++ b/djangorestframework/views.py @@ -77,11 +77,7 @@ class BaseView(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, View):              prefix = '%s://%s' % (request.is_secure() and 'https' or 'http', request.get_host())              set_script_prefix(prefix) -            try: -                # If using a form POST with '_method'/'_content'/'_content_type' overrides, then alter -                # self.method, self.content_type, self.RAW_CONTENT & self.CONTENT appropriately. -                self._perform_form_overloading() -     +            try:                     # Authenticate and check request is has the relevant permissions                  self._check_permissions()  | 
