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

Preparation of `Url` model refactoring #152

Closed timobrembeck closed 1 year ago

timobrembeck commented 1 year ago

In this PR, I extracted some changes of #135 to reduce the diff and to make reviewing a bit easier. These changes do not yet change anything in the database structure, but only re-arrange the model methods a bit.

Thanks in advance for your feedback!

timobrembeck commented 1 year ago

Thanks, looks good! Should we merge this now or would you like to finish PR #151 first?

Merging now sounds good, then I can use the refactored checking method already for the content type check.