core.files.storage.Storage.open()

open(name, mode='rb') [source]

Opens the file given by name. Note that although the returned file is guaranteed to be a File object, it might actually be some subclass. In the case of remote file storage this means that reading/writing could be quite slow, so be warned.

doc_Django
2016-10-09 18:34:47
Comments
Leave a Comment

Please login to continue.