Dear django users,
we have a problem with filename of resulting PDF generated by reportlab and 
then downloaded by browser.  

Generated PDF is OK, but filename is incorrect. It is allways something like 
"randomstring.pdf.part". (for example sa34sdfasdf.pdf.part)


in the "view.py" there are these lines: 
        response = HttpResponse(mimetype='application/pdf')
        response['Content-Disposition'] = 'filename=gisplan.pdf'

Please, can anybody see where can be the problem ?


Ivan

--~--~---------~--~----~------------~-------~--~----~
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