harvard-lil / perma

Indelible links
411 stars 70 forks source link

Tweak to "no PageInfo" check #3422

Closed rebeccacremona closed 8 months ago

rebeccacremona commented 8 months ago

https://github.com/harvard-lil/perma/pull/3421 was over broad: we expect pageInfo to be present but empty whenever the capture target is retrieved out-of-browser (like a direct link to a PDF, for example).

This PR just looks for the presence of the key.

It also make some tweaks to the Django admin for our convenience.

codecov[bot] commented 8 months ago

We're currently processing your upload. This comment will be updated when the results are available.