please help me I have a django file upload sytem a python file encryption code the file encryption is done by a function called encrypt_file which will encrypt the file from
path/filename.extention to path/filename.enc the filename.enc is fixed and only one file is created how can i make it so that it will change after and i can have multiple files on each file upload MEDIA_FILE = os.path.join(BASE_DIR, 'media/fi1.enc' ) is how i made the path from_path to_path secret key encrypt_file(request.FILES['docfile'], MEDIA_FILE, '8W;>i^H0qi|J&$coR5MFpR*Vn') how can fi1 be a variable OR How to solve my problem(i.e any other best methods) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d8b5a1d3-11a3-48fd-9ffc-9617930bdfb1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
webupload.tar.gz
Description: Binary data