I dealt with the same problem by writing a pdf file for the mediumblob field in mysql and extracting through django. I set the mysql field type for the mediumblob field and django for the text field. I used the request and httpresponse to view PDF objects in a browser (but not directly in django).
Joseph
source share