'Return URL for Z/Y/X mapping clients or None if it does not exist.'

def get_tiles_url(self):

    try:
        tiles_link = self.link_set.get(name='Tiles')
    except Link.DoesNotExist:
        return None
    else:
        return tiles_link.url
