Searched refs:album_model (Results 1 – 1 of 1) sorted by relevance
322 def __album_from_model(self, album_model): argument332 artist_id = model.AlbumInfo.artist.get_value_for_datastore(album_model)334 return Album(album_id=unicode(album_model.key()),336 name=album_model.name,337 released=album_model.released or None)519 album_model = model.AlbumInfo.get(request.album_id)520 if isinstance(album_model, model.AlbumInfo):521 album = self.__album_from_model(album_model)