twoscoops / two-scoops-of-django-1.11

The issue tracker, changelog, and code repository for Two Scoops of Django 1.11

Home Page:https://www.twoscoopspress.com/products/two-scoops-of-django-1-11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't search within the PDF

oesah opened this issue · comments

I am not sure, if that behavior is intended, but I cannot find text in the PDF if I search. When I copy text, the paste becomes something unreadable such as ...#_-.

Without a search functionality, it is very difficult to navigate to specific information.

OS
OSX 10.11.6 (15G1611) (German)
Windows 10 (German)

PDF Viewers
Preview.app
Adobe Acrobat Reader
Chrome Browser

PDF Version
Django Two Scoops 1.11.pdf

Odd, I can search without a problem.

As for copy/pasting of text, that's a limitation of the PDF format and is all on @adobe. That's why we publish our code examples here.

I tried on Windows 10 too. May it be an issue with my computer having German as the first language? Maybe some encoding problems? I'll investigate a little further.

@pydanny Unfortunately, this problem still persists :/ When I search for any word, no results are shown. Any ideas what could be wrong? I am using Adobe Acrobat Reader 2019.021.20058 or the Mac Preview app. Both cannot find anything.

I have some German friends I'm asking about the problem.

@pydanny Any luck? I am back to reading the book for unit testing and wanted to copy a line of code and got this: 􀀮􀀠􀀧􀀡􀇡􀀜􀀮􀀮􀀠􀀭􀀯􀀆􀀬􀀰􀀜􀀧􀀮􀇿􀀭􀀠􀀮􀀫􀀪􀀩􀀮􀀠􀇡􀀮􀀯􀀜􀀯􀀰􀀮􀇾􀀞􀀪􀀟􀀠􀇢 􀇏􀇍􀇍􀈀. I guess it's the same issue that hinders me searching the doc.

While I'm here, it would be awesome to have some information on testing class based views properly. There is very little and outdated data on the web on how to test CBVs properly. For instance, do I make actual requests to that view when unittesting or do I call the method of the view by instantiating it with a request and other args?

Rather than bury it in this issue, could you open a new issue for your CBV request at https://github.com/feldroy/two-scoops-of-django-3.x/issue?