> dscn0001___.jpg
> dscn0001.jpg
> dscn0001_.jpg
>
> I could override the save() method to save the files under /
> , but that would make the get_FOO_url and others fail.
No it won't. As long as your ImageField ends up pointing to the
correct relative path of your renamed imag
Hello everyone,
I have an application where users can upload files, mostly photos. I
wish to avoid the problem of people sending photos with the same name
and ending up with a "polluted" directory like this:
dscn0001.jpg
dscn0001_.jpg
dscn0001__.jpg
dscn0001___.jpg
dscn0001.jpg
dscn0001
2 matches
Mail list logo