now it 's work
def cleanPath(file):
path= settings.MEDIA_ROOT+"/here/"+str(file)
if default_storage.exists(path):
default_storage.delete(path)
return "file deleted : "+str(file)
si simple ! :o)
tonton
On Fri, Apr 22, 2011 at 9:59 AM, Tonton wrote:
> so how to pass over
so how to pass over ?
i made an upload form for tree files
then i use data in these files and create a table.
next i need tu upload more tree files but in the path there is the tree file
before so i hope to remove it !!
then django Crying me with SuspiciousOperation
maybe i am a little bit "bru
2 matches
Mail list logo