(self)
return url_host + url_path
Get external URL for the sketch.

        E.g: https://localhost/sketch/42/

        Returns:
            Full URL to the sketch as string.
Get external URL for the sketch.
Get external URL for the sketch .
def external_url(self):
        """Get external URL for the sketch.

        E.g: https://localhost/sketch/42/

        Returns:
            Full URL to the sketch as string.
        """
        url_host = current_app.config.get(
            'EXTERNAL_HOST_URL', 'https://localhost')
        url_path = url_for('sketch_views.overview', sketch_id=self.id)
        return url_host + url_path
def external_url ( self ) : url_host = current_app . config . get ( 'EXTERNAL_HOST_URL' , 'https://localhost' ) url_path = url_for ( 'sketch_views.overview' , sketch_id = self . id ) return url_host + url_path