core.files.storage.Storage.listdir()

listdir(path) [source]

Lists the contents of the specified path, returning a 2-tuple of lists; the first item being directories, the second item being files. For storage systems that aren’t able to provide such a listing, this will raise a NotImplementedError instead.

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

Please login to continue.