I'm not sure how many users you have for this, but it's best practice to
use an asynchronous task queue (like Celery) to run the actual powerpoint
creation code. If you simply run the script inside the view it will block
the response from happening. You create a celery task (which in your case
woul
Add a new view that returns the files. Connect the “Download” button to the
URL to that view.
Your view should return an HttpResponse object. For instance, I use this for
the user to download PDF versions of forms:
response = HttpResponse(pdf_contents, content_type='application/pdf')
response[
Use ajax, e.g.:
https://stackoverflow.com/questions/30456958/python-script-called-by-ajax-executed-by-django-server
On Mon, Apr 16, 2018 at 3:48 PM, Balu Nanduri wrote:
> Hi,
> I am working on a project where I have to communicate with Tableau
> server and generate pptx with the images d
3 matches
Mail list logo