aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/views.py')
-rw-r--r--djangorestframework/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/djangorestframework/views.py b/djangorestframework/views.py
index 6f2ab5b7..49d722c5 100644
--- a/djangorestframework/views.py
+++ b/djangorestframework/views.py
@@ -150,8 +150,8 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView):
response.headers['Allow'] = ', '.join(self.allowed_methods)
response.headers['Vary'] = 'Authenticate, Accept'
- return self.render(response)
-
+ return self.render(response)
+
class ModelView(View):
"""A RESTful view that maps to a model in the database."""