Alexey wrote:
> I wonder, why is there no folder creation functions in Storage and
> FileStorage classes?

Because none of Django's features really required it.

> I ask this not because I don't know how to create it mysef. I'm just
> curios, why there are only one function for working with folders --
> listdir()?

For what it's worth, that actually wasn't intended to be there. I put 
that in when I thought that the initial file storage update would also 
support FilePathField, since that would need to be able to list a 
directory's contents. It accidentally made it into the final patch, and 
people immediately started using it, so it stayed.

> As for me,  function mkdir() should be there.

In the long run, I agree. I'm not sure it's much of a priority at the 
moment, but it's probably worth discussing for 1.2. Is there already a 
ticket out there somewhere for discussion? If not, would you mind 
creating one? Even if it doesn't make it in, it's easier to keep track 
of if there's a ticket for the request.

-Gul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to