'This utility static method will take a location identifier and create a \'durable\' /static/.. URL representation of it.
This link is \'durable\' as it can maintain integrity across cloning of courseware across course-ids, e.g. reruns of
courses.
In the LMS/CMS, we have runtime link-rewriting, so at render time, this /static/... format will get translated into
the actual /c4x/... path which the client needs to reference static content'

@staticmethod
def get_static_path_from_location(location):

    if (location is not None):
        return u'/static/{name}'.format(name=location.name)
    else:
        return None
