Hi All, I found that Django can not serve PDF files from view, and I feel this is wrong and must be fixed, so I try to raise this topic now.
Problem description: We've build e-commerce site which sells PDF files as well. For obvious reasons I can not put all our PDF files as static files on media server. I have also found nice guide and followed it: http://www.djangoproject.com/documentation/outputting_pdf/ Actual code I've used is this one: http://dpaste.com/7959/ All worked well, we have installed new site yesterday, and got numerious number of complaints from our users. Tracking down the problem we've found that it is IE specific, well known and mentioned on Microsoft support site: http://support.microsoft.com/kb/824847/en-us?spid=8722&sid=global I've asked on IRC, people helped me and pointed out that I should write middleware to fix this problem. Btw, big thanks to 'axiak' from #django IRC by helping to resolve problem in fast manner: http://dpaste.com/7960/ Now, I am curious, is this normal that to serve PDF file it is required to write middleware? Alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---