Session editor and live sessions!
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from folkugat_web.model import IndexedList
|
||||
from folkugat_web.model import IndexedList, playlists
|
||||
from folkugat_web.model import temes as model
|
||||
|
||||
TEMES = [
|
||||
@@ -110,3 +110,19 @@ el meu País Valencià.
|
||||
hidden=False,
|
||||
).with_ngrams(),
|
||||
]
|
||||
|
||||
PLAYLIST_ENTRIES = [
|
||||
playlists.PlaylistEntry(0, 2, 0, 1),
|
||||
playlists.PlaylistEntry(1, 2, 0, 2),
|
||||
playlists.PlaylistEntry(2, 2, 1, 3),
|
||||
playlists.PlaylistEntry(3, 2, 2, 4),
|
||||
playlists.PlaylistEntry(4, 2, 2, 5),
|
||||
playlists.PlaylistEntry(5, 2, 2, 6),
|
||||
playlists.PlaylistEntry(6, 2, 3, 7),
|
||||
playlists.PlaylistEntry(7, 2, 4, 8),
|
||||
]
|
||||
|
||||
PLAYLIST = playlists.Playlist.from_playlist_entries(
|
||||
session_id=2,
|
||||
entries=PLAYLIST_ENTRIES,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user