I'm trying to create a more helpful experience to a user by providing links to pages that may be the source of some kind of error.
Basically, I'm dealing with an issue where if a user tries to change their hostname for a service to the same name as an external URL they have defined in that same service.
If there is a match (meaning the entered value is a duplicate and therefore invalid) I want to raise an error message and hyperlink to the application in question so that they can immediately change it.
However, because this error message is displayed after an exception is raised and within a .py file, I'm having trouble with how to hyperlink that text without using HTML.
Any help would be appreciated!