Re: Filefield uploads in django admin

2017-06-06 Thread Melvyn Sopacua
On Tuesday 06 June 2017 08:59:06 Tim Graham wrote: > The default behavior of FileSystemStorage is, "If a file with name > already exists, an underscore plus a random 7 character alphanumeric > string is appended to the filename before the extension." Do you want > to always overwrite existing fil

Re: Filefield uploads in django admin

2017-06-06 Thread Tim Graham
The default behavior of FileSystemStorage is, "If a file with name already exists, an underscore plus a random 7 character alphanumeric string is appended to the filename before the extension." Do you want to always overwrite existing files if a file with that name already exists? That's a bit

Filefield uploads in django admin

2017-06-06 Thread Andy Cheesman
Hi everyone I've a problem using filefields in the admin module.I've a standard model which is has a FileField (which I use to upload pdfs) When I'm in the administration console and attempt to upload a pdf, the filename is modified from name.pdf to name_.pdf. I would like the uploaded file