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

Ignore Urls longer than `MAX_URL_LENGTH` in signal listeners #116

Closed timobrembeck closed 1 year ago

timobrembeck commented 2 years ago

Skip URLs which exceed the MAX_URL_LENGTH in the save signal listeners (See the #115 for more information).

I just adapted the current solution for the management command for the listener code: https://github.com/DjangoAdminHackers/django-linkcheck/blob/dfa053fbebd832e17de477dd9653472b775d0261/linkcheck/utils.py#L120-L122

Thanks a lot in advance for your feedback! :pray:

Fixes #115