From: yomguy Date: Thu, 27 Oct 2011 10:37:32 +0000 (+0200) Subject: cleanup X-Git-Tag: 1.1~27 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=54fe61a2882c840233bfe91a25e436e033456517;p=telemeta.git cleanup --- diff --git a/telemeta/web/base.py b/telemeta/web/base.py index f0098ca4..c85464e5 100644 --- a/telemeta/web/base.py +++ b/telemeta/web/base.py @@ -175,9 +175,7 @@ class GeneralView(object): """Render the homepage""" if not request.user.is_authenticated(): template = loader.get_template('telemeta/index.html') -# ids = [id for id in MediaItem.objects.all().values_list('id', flat=True).order_by('?')[0:3]] -# items = MediaItem.objects.enriched().filter(pk__in=ids) -# + sound_items = MediaItem.objects.sound() _sound_pub_items = [] for item in sound_items: