add namespace to all apis

This commit is contained in:
tifayuki 2016-11-16 14:24:50 -08:00
commit 256de5d2cc
27 changed files with 248 additions and 204 deletions

View file

@ -57,7 +57,7 @@ class Tag(BasicObject):
def fetch(cls, taggable):
if not isinstance(taggable, Taggable):
raise ApiError("The object does not support tag")
if not taggable._detail_uri:
if not taggable.resource_uri:
raise ApiError("You must save the taggable object before performing this operation")
tag = cls()