Re: Underscores vs. Numbers

2010-01-14 Thread Wiiboy
Well, to solve this, I'm planning to subclass the "get_available_name" method in django.core.files.storage.Storage to do exactly what it does now, except add a number instead of underscores. Any reason not to do this? -- You received this message because you are subscribed to the Google Groups "

Underscores vs. Numbers

2010-01-14 Thread Wiiboy
I noticed when I upload multiple files to my website with the same name, Django adds underscores to the file names. But doesn't that seems like it's less efficient than adding numbers to the end, (i.e. myfile (1).txt)? And on some OSs, a file name can be too long, which could cause problems. Any