work on website's player

This commit is contained in:
bkfox
2016-06-13 15:46:52 +02:00
parent 01c4280b72
commit 5da8762f77
5 changed files with 304 additions and 3 deletions

View File

@ -46,7 +46,10 @@ class Player(sections.Section):
context.update({
'base_template': 'aircox/cms/section.html',
'live_streams': self.live_streams
'live_streams': self.live_streams,
'last_sounds': models.Sound.objects. \
filter(published = True). \
order_by('-pk')[:10],
})
return context