Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 2fa433ed5545c1dc7a140bd4c3b59b82ff69006b 1 parent 50255e3
Paul McMillan authored September 14, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/http/__init__.py
2  django/http/__init__.py
@@ -544,7 +544,7 @@ def __init__(self, content='', mimetype=None, status=None,
544 544
         if not content_type:
545 545
             content_type = "%s; charset=%s" % (settings.DEFAULT_CONTENT_TYPE,
546 546
                     self._charset)
547  
-        HttpResponse._set_content(self, content)
  547
+        self.content = content
548 548
         self.cookies = SimpleCookie()
549 549
         if status:
550 550
             self.status_code = status

0 notes on commit 2fa433e

Please sign in to comment.
Something went wrong with that request. Please try again.