'Converts a relative `uri` to an absolute url.
:param string uri: The relative uri to make absolute.
:return: An absolute url (based off this domain)'

def absolute_url(self, uri):

    return '{}/{}'.format(self.base_url.strip('/'), uri.strip('/'))
