Commit 8a5f167b authored by fred's avatar fred

include 50 tracks in recent view

parent 3ded0b33
......@@ -223,7 +223,7 @@ class RecentTracksView(ListView):
template_name = 'nonstop/recent_tracks.html'
def get_queryset(self):
return Track.objects.exclude(creation_timestamp__isnull=True).order_by('-creation_timestamp')[:20]
return Track.objects.exclude(creation_timestamp__isnull=True).order_by('-creation_timestamp')[:50]
def post(self, request, *args, **kwargs):
for track_id in request.POST.getlist('track'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment