Commits

Mikhail Korobov committed 00e950d

make HttpResponseWrapper compatible with upcoming django 1.4

Comments (0)

Files changed (1)

                 if not isinstance(content, basestring) and hasattr(content, '__iter__'):
                     self._container = content
                     self._is_string = False
+                    self._base_content_is_iter = True
                 else:
                     self._container = [content]
                     self._is_string = True
+                    self._base_content_is_iter = False
 
             content = property(HttpResponse._get_content, _set_content)