@classmethod
def make_static_url(cls, settings, path):
    """Constructs a versioned url for the given path.

        This method may be overridden in subclasses (but note that it is
        a class method rather than an instance method).

        ``settings`` is the `Application.settings` dictionary.  ``path``
        is the static path being requested.  The url returned should be
        relative to the current host.
        """
    static_url_prefix = settings.get('static_url_prefix', '/static/')
    version_hash = cls.get_version(settings, path)
    if version_hash:
        return '%s%s?v=%s' % (static_url_prefix, path, version_hash)
    return '%s%s' % (static_url_prefix, path)
