playlists/models.py
def chirp_playlist_key():
    """Datastore key for the continuous CHIRP broadcast"""
    key_str = memcache.get('chirp_playlist')
    if not key_str:
        playlist = ChirpBroadcast()
        key_str = str(playlist.key())
        memcache.set('chirp_playlist', key_str)
    return db.Key(key_str)
Datastore key for the continuous CHIRP broadcast
Datastore key for the continuous CHIRP broadcast
Datastore key for the continuous CHIRP broadcast
def chirp_playlist_key():
    key_str = memcache.get('chirp_playlist')
    if not key_str:
        playlist = ChirpBroadcast()
        key_str = str(playlist.key())
        memcache.set('chirp_playlist', key_str)
    return db.Key(key_str)
def chirp_playlist_key ( ) : key_str = memcache . get ( 'chirp_playlist' ) if not key_str : playlist = ChirpBroadcast ( ) key_str = str ( playlist . key ( ) ) memcache . set ( 'chirp_playlist' , key_str ) return db . Key ( key_str )
Datastore key for the continuous CHIRP broadcast
Datastore key for the continuous CHIRP broadcast
"""Datastore key for the continuous CHIRP broadcast"""