Django Storage.listdir() definition

17 views
Skip to first unread message

yu...@prism.com

unread,
Mar 12, 2018, 7:43:41 PM3/12/18
to Django users
Hi,

I have a question on Storage.listdir()

It's interface definition says:

List the contents of the specified path. Return a 2-tuple of lists: the first item being directories, the second item being files.

Question that I have is the following.
Shall it return absolute paths or just local names under listed directory?
What was meant here? 


Reply all
Reply to author
Forward
0 new messages