'Retrieve a dictionary mapping URL\'s to static files'

def static_resources_dict(self):

    if (self._static_resources_dict is None):
        self._static_resources_dict = dict(((resource.link_url, resource) for resource in self.static()))
    return self._static_resources_dict
