Ticket #6063: SafeString_remove.diff

File SafeString_remove.diff, 476 bytes (added by janusz.harkot@…, 16 years ago)

patch that is working for me

  • django/http/__init__.py

     
    331331        chunk = self._iterator.next()
    332332        if isinstance(chunk, unicode):
    333333            chunk = chunk.encode(self._charset)
    334         return chunk
     334        return str(chunk)
    335335
    336336    def close(self):
    337337        if hasattr(self._container, 'close'):
Back to Top