Changeset 4472
- Timestamp:
- 02/09/07 21:56:21 (2 years ago)
- Files:
-
- django/trunk/django/http/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/http/__init__.py
r4135 r4472 161 161 if not mimetype: 162 162 mimetype = "%s; charset=%s" % (settings.DEFAULT_CONTENT_TYPE, settings.DEFAULT_CHARSET) 163 if hasattr(content, '__iter__'):163 if not isinstance(content, basestring) and hasattr(content, '__iter__'): 164 164 self._container = content 165 165 self._is_string = False
