DjangoAdminHackers / django-linkcheck

An app that will analyze and report on links in any model that you register with it. Links can be bare (urls or image and file fields) or embedded in HTML (linkcheck handles the parsing). It's fairly easy to override methods of the Linkcheck object should you need to do anything more complicated (like generate URLs from slug fields etc).
BSD 3-Clause "New" or "Revised" License
75 stars 26 forks source link

Delete outdated objects on `findlinks` command #122

Closed timobrembeck closed 1 year ago

timobrembeck commented 1 year ago

This changes the findlinks command to keep track of all found objects to be able to remove all Url and Link objects which are not contained in the link lists anymore.

Also, I implemented the change detection without the still_exists field, so I removed it (since this seemed to be its only purpose).

Thanks in advance for your feedback!

Fixes #101