From another discussion I found the function used to generate the
view_on_site url in the admin.
Thing is, why
self.view_on_site is checked for truthiness in the elif statement?
If it were
False it should be captured in the first statement of the function. (L294)
The function was added 7 years ago in it’s entirety so I don’t think this check is there for backwards compatibility.