jeudi 16 juin 2016

Django, How to allow users to download a Python generated file


I am new to Django and have a few questions.

I made a python program that requires user input, and a docx file. How do I allow that user to download their generated docx file? I am assuming I am going to have to work with temporary files since the program can not overwrite an existing docx file if there are multiple users on the site.

Thanks for your help.


Aucun commentaire:

Enregistrer un commentaire