I've set up my app to generate a pdf file based on user selections
(following these instructions here:
http://www.20seven.org/journal/2008/11/pdf-generation-with-pisa-in-django.html).

The code returns

" return http.HttpResponse(result.getvalue(), \
             mimetype='application/pdf')'

prompting the browser open or save the pdf file.

Is there a way to set up the view code so that instead of being opened/
saved, the generated file is automatically uploaded into a specified
field in the database?







--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to