diff options
| author | Tom Christie | 2011-05-24 10:27:24 +0100 |
|---|---|---|
| committer | Tom Christie | 2011-05-24 10:27:24 +0100 |
| commit | 370274f5640d55ef71422f7a2440710a43ff900e (patch) | |
| tree | 2b970d3e1ad6d283050139bfe7a914bf10586963 /djangorestframework/mixins.py | |
| parent | 698df527a3b80edbf4278ea52e88c1699b2f2256 (diff) | |
| download | django-rest-framework-370274f5640d55ef71422f7a2440710a43ff900e.tar.bz2 | |
Allow views to return HttpResponses. Add initial() hook method
Diffstat (limited to 'djangorestframework/mixins.py')
| -rw-r--r-- | djangorestframework/mixins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/mixins.py b/djangorestframework/mixins.py index 62257592..90c75970 100644 --- a/djangorestframework/mixins.py +++ b/djangorestframework/mixins.py @@ -216,7 +216,7 @@ class RequestMixin(object): class ResponseMixin(object): """ - Adds behavior for pluggable `Renderers` to a :class:`views.BaseView` or Django :class:`View` class. + Adds behavior for pluggable `Renderers` to a :class:`views.View` class. Default behavior is to use standard HTTP Accept header content negotiation. Also supports overriding the content type by specifying an ``_accept=`` parameter in the URL. |
