Ticket #16398: 16398.patch

File 16398.patch, 422 bytes (added by Jonathan Sawyer, 13 years ago)

Patch to #16389 where self is returned on .write() method

  • django/http/__init__.py

     
    621621        if not self._is_string:
    622622            raise Exception("This %s instance is not writable" % self.__class__)
    623623        self._container.append(content)
     624        return self
    624625
    625626    def flush(self):
    626627        pass
Back to Top