core.files.storage._open()

_open(name, mode='rb')

Required.

Called by Storage.open(), this is the actual mechanism the storage class uses to open the file. This must return a File object, though in most cases, you’ll want to return some subclass here that implements logic specific to the backend storage system.

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

Please login to continue.