fix in get_here_url: generic views provide unusable url name, check for view func first