Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@PaulMcMillan PaulMcMillan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/http/__init__.py
View
2  django/http/__init__.py
@@ -544,7 +544,7 @@ def __init__(self, content='', mimetype=None, status=None,
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
Please sign in to comment.
Something went wrong with that request. Please try again.