summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul McMillan <Paul@McMillan.ws>2011-09-14 23:58:12 +0000
committerPaul McMillan <Paul@McMillan.ws>2011-09-14 23:58:12 +0000
commit2fa433ed5545c1dc7a140bd4c3b59b82ff69006b (patch)
tree31f52a7799678e251cb2e4e9befc8c6d18d018fe
parent50255e33053714ec3b363cf39e2d9a7f4b0ed83c (diff)
Slight cleanup to r16829, thanks Alex Gaynor for the note.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/http/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/http/__init__.py b/django/http/__init__.py
index 913c7eb704..c6bf2f174f 100644
--- a/django/http/__init__.py
+++ b/django/http/__init__.py
@@ -544,7 +544,7 @@ class HttpResponse(object):
if not content_type:
content_type = "%s; charset=%s" % (settings.DEFAULT_CONTENT_TYPE,
self._charset)
- HttpResponse._set_content(self, content)
+ self.content = content
self.cookies = SimpleCookie()
if status:
self.status_code = status