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).
You can (optionally) add a alert_mail_field property to linklists.py
If you do this email address is stored in each Link instance
A separate management command can be used to email a report to each person
Assumptions:
If you don't run the management command then everything works the same as without this feature
If you don't add the alert_mail_field property then everything works the same as without this feature.
Even though I don't have a use for it I guess I can see how it could be useful.
I do wonder if we really need a new database field. Each Link instance knows it's model class and from that it should be possible to match that up with the linklist and thus the email address.
Let me see if I understand this correctly:
Assumptions:
Even though I don't have a use for it I guess I can see how it could be useful.
I do wonder if we really need a new database field. Each Link instance knows it's model class and from that it should be possible to match that up with the linklist and thus the email address.