TemporaryUploadedFile.seek function signature doesn't match what's expected
|Reported by:||vomjom||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In django/core/files/uploadedfile.py, TemporaryUploadedFile's seek function only takes an offset, but as in shown in http://docs.python.org/lib/bltin-file-objects.html it should also takes a whence argument.
It'd be far better if TemporaryUploadedFile's file-object functions were more similar to InMemoryUploadedFile in that they would pass all the arguments, like:
def seek(self, *args, **kwargs): return self._file.seek(*args, **kwargs)
And so on for the rest of the functions.