@ -189,7 +189,7 @@ class APIObject(object):
else:
path = "/%s/" % (cls.URLPART)
if parent:
return (parent + path).replace("//", "/")
return (parent.url() + path).replace("//", "/")
return path
def url(self, parent=None):