aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/response.py
diff options
context:
space:
mode:
authorTom Christie2013-04-25 12:47:34 +0100
committerTom Christie2013-04-25 12:47:34 +0100
commit95abe6e8445f59f9e52609b0c54d9276830dbfd3 (patch)
treeb74d076e5d4e84d0ed8ead11843ad5e52b9da335 /rest_framework/response.py
parentb94da2468cdda6b0ad491574d35097d0e336ea7f (diff)
downloaddjango-rest-framework-95abe6e8445f59f9e52609b0c54d9276830dbfd3.tar.bz2
Cleanup docstrings
Diffstat (limited to 'rest_framework/response.py')
-rw-r--r--rest_framework/response.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/rest_framework/response.py b/rest_framework/response.py
index 5e1bf46e..26e4ab37 100644
--- a/rest_framework/response.py
+++ b/rest_framework/response.py
@@ -1,3 +1,9 @@
+"""
+The Response class in REST framework is similiar to HTTPResponse, except that
+it is initialized with unrendered data, instead of a pre-rendered string.
+
+The appropriate renderer is called during Django's template response rendering.
+"""
from __future__ import unicode_literals
from django.core.handlers.wsgi import STATUS_CODE_TEXT
from django.template.response import SimpleTemplateResponse