In django changing the file name of uploading file.

Posted by Software Enthusiastic on Stack Overflow See other posts from Stack Overflow or by Software Enthusiastic
Published on 2010-04-21T04:49:23Z Indexed on 2010/04/21 4:53 UTC
Read the original article Hit count: 369

Hi

Is it possible to change the file name of the uploading file in the django? I searched, but couldn't find any answer.

My requirement is whenever a file is uploaded its file name should be changed in the following format.

format = userid + transaction_uuid + file_extension

Thank yo very much...

© Stack Overflow or respective owner

Related posts about django

Related posts about django-forms