diff options
| author | Paul McMillan <Paul@McMillan.ws> | 2011-09-14 23:58:12 +0000 |
|---|---|---|
| committer | Paul McMillan <Paul@McMillan.ws> | 2011-09-14 23:58:12 +0000 |
| commit | 2fa433ed5545c1dc7a140bd4c3b59b82ff69006b (patch) | |
| tree | 31f52a7799678e251cb2e4e9befc8c6d18d018fe | |
| parent | 50255e33053714ec3b363cf39e2d9a7f4b0ed83c (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__.py | 2 |
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 |
