Exemplo n.º 1
0
Arquivo: api.py Projeto: saz/jukebox
 def addAlbum(self, artist, title="TestTitle"):
     album = Album(
         Artist=artist,
         Title=title
     )
     album.save()
     return album
Exemplo n.º 2
0
 def addAlbum(self, title="TestTitle"):
     album = Album(Title=title)
     album.save()
     return album
Exemplo n.º 3
0
 def addAlbum(self, title="TestTitle"):
     album = Album(
         Title=title
     )
     album.save()
     return album