]> git.parisson.com Git - telemeta.git/commitdiff
cleanup
authoryomguy <yomguy@parisson.com>
Thu, 27 Oct 2011 10:37:32 +0000 (12:37 +0200)
committeryomguy <yomguy@parisson.com>
Thu, 27 Oct 2011 10:37:32 +0000 (12:37 +0200)
telemeta/web/base.py

index f0098ca4b27fe26994a066386a4f47549ec03e68..c85464e5d7e233169a9e85409fff9de0354ec57d 100644 (file)
@@ -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: