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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.