Creating temperory files for a web application
Diez B. Roggisch
deets at nospam.web.de
Sat May 9 16:13:20 CEST 2009
> Hi Diez,
> I think I understood your point now.
> Is it ?
> (1) Have a separate URL for the image - update urls.py for that
> (2) Pass all the GET parameters to that URL again.
> (3) Recalculate the fields again in that URL
> (4) Create the image and send back as image/png based on the
> received fields.
> Other than the fact that I will be hitting the DB twice - for the
> fields in the original URL and for creating Image in the second URL, I
> think this is the best option.
> Please let me know whether I have understood correctly.
> The same option can be done for CSV and PDF files too. Thank you
> very much Diez.
Yep, that's what I meant.
More information about the Python-list