djdb/search.py
def add_track(self, track):
        """Prepare to index metdata associated with a Track instance.

        track must have the indexer's transaction as its parent key.
        track is saved when the indexer's save() method is called.
        """
        assert track.parent_key() == self.transaction
        self.add_key(track.key(), "title", strip_tags(track.title))
        self.add_key(track.key(), "album", strip_tags(track.album.title))
        self.add_key(track.key(), "artist", track.artist_name)
        self._txn_objects_to_save.append(track)
Prepare to index metdata associated with a Track instance.

        track must have the indexer's transaction as its parent key.
        track is saved when the indexer's save() method is called.
        
Prepare to index metdata associated with a Track instance.
track must have the indexer's transaction as its parent key.
track is saved when the indexer's save() method is called.
Prepare to index metdata associated with a Track instance . track must have the indexer ' s transaction as its parent key . track is saved when the indexer ' s save () method is called .
def add_track(self, track):
        assert track.parent_key() == self.transaction
        self.add_key(track.key(), "title", strip_tags(track.title))
        self.add_key(track.key(), "album", strip_tags(track.album.title))
        self.add_key(track.key(), "artist", track.artist_name)
        self._txn_objects_to_save.append(track)
def add_track ( self , track ) : assert track . parent_key ( ) == self . transaction self . add_key ( track . key ( ) , "title" , strip_tags ( track . title ) ) self . add_key ( track . key ( ) , "album" , strip_tags ( track . album . title ) ) self . add_key ( track . key ( ) , "artist" , track . artist_name ) self . _txn_objects_to_save . append ( track )
Prepare to index metdata associated with a Track instance.
Prepare to index metdata associated with a Track instance .
"""Prepare to index metdata associated with a Track instance.

        track must have the indexer's transaction as its parent key.
        track is saved when the indexer's save() method is called.
        """
self
track