diff options
| author | Marko Tibold | 2011-12-30 01:37:32 +0100 |
|---|---|---|
| committer | Marko Tibold | 2011-12-30 01:37:32 +0100 |
| commit | 1b28339e5b733a0422c2bcd06b39e289bc98f69b (patch) | |
| tree | 9e766f4f9d9ec596bc0e2702e1bb291b90aa3a93 /djangorestframework/response.py | |
| parent | 91cee26ad89c04a70f33ae334150dd127f900474 (diff) | |
| parent | a0c4dca9462c738aac3c712607997b9bd1f7b2c8 (diff) | |
| download | django-rest-framework-1b28339e5b733a0422c2bcd06b39e289bc98f69b.tar.bz2 | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'djangorestframework/response.py')
| -rw-r--r-- | djangorestframework/response.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/djangorestframework/response.py b/djangorestframework/response.py index 311e0bb7..0090b070 100644 --- a/djangorestframework/response.py +++ b/djangorestframework/response.py @@ -1,8 +1,8 @@ """ -The :mod:`response` module provides Response classes you can use in your -views to return a certain HTTP response. Typically a response is *rendered* +The :mod:`response` module provides Response classes you can use in your +views to return a certain HTTP response. Typically a response is *rendered* into a HTTP response depending on what renderers are set on your view and -als depending on the accept header of the request. +als depending on the accept header of the request. """ from django.core.handlers.wsgi import STATUS_CODE_TEXT @@ -23,7 +23,7 @@ class Response(object): self.raw_content = content # content prior to filtering self.cleaned_content = content # content after filtering self.headers = headers or {} - + @property def status_text(self): """ |
