(dashboard_settings)
return ''
Get resolved public dashboard URL

    Get resolved public dashboard URL if public dashboard app is
    installed == present in the global urls module of the project).

    :param dash.models.DashboardSettings dashboard_settings: Instance of
        ``dash.models.DashboardSettings``.
    :return string:
Get resolved public dashboard URL
Get resolved public dashboard URL
def get_public_dashboard_url(dashboard_settings):
    """Get resolved public dashboard URL

    Get resolved public dashboard URL if public dashboard app is
    installed == present in the global urls module of the project).

    :param dash.models.DashboardSettings dashboard_settings: Instance of
        ``dash.models.DashboardSettings``.
    :return string:
    """
    if dashboard_settings.is_public:
        try:
            # Resolve URL
            return reverse(
                'dash.public_dashboard',
                kwargs={'username': dashboard_settings.user.username}
            )
        except NoReverseMatch:
            # Most likely, the public dashboard is not present
            pass
    return ''
def get_public_dashboard_url ( dashboard_settings ) : if dashboard_settings . is_public : try : # Resolve URL return reverse ( 'dash.public_dashboard' , kwargs = { 'username' : dashboard_settings . user . username } ) except NoReverseMatch : # Most likely, the public dashboard is not present pass return ''